FAQ's
  • Please tell me how to switch the process depending on the presence or absence of a macro at build time using the conditional assembly IFDEF of the assembler.
    • The symbols that can be specified the condition assemble IFDEF of the assembler are user symbols, not macros.
      The user symbol must be described in the assembler source file. Use the IF pseudo-instruction when switching the object to be assembled, such as an instruction / pseudo-instruction, depending on the conditions.
      For example, describe as follows.
      The VALUE is a macro symbol.

      _DEBUG equ VALUE ; VALUE is a macro symbol.
      IF _DEBUG == 1
      Statement 1
      ENDIF

      In LEXIDE-U16, define the value of VALUE in [Assembler]> [Macro] in the [Properties] dialog.
      If it defines VALUE = 0, statement 1 will not be assembled.
      If it defines VALUE = 1, statement 1 will be assembled.

      Related Products: ML610(Q)40x, ML610(Q)42x, ML610(Q)47x, ML610(Q)48x, ML610Q10x, ML610Q11x, ML610Q17x, ML610Q30x, ML610Q35x, ML610Q36x, ML610Q38x, ML610Q41x, ML610Q43x, ML610Q46x, ML620Q13x, ML620Q15x, ML620Q416/ML620Q418, ML620Q503H/ML620Q504H/ML620Q506H, ML62Q12xx, ML62Q13xx, ML62Q14xx, ML62Q15xx/ML62Q18xx, ML62Q16xx, ML62Q17xx

    • Produkte: General-purpose MCUs (16bit) , Speech Playback MCUs (8bit)