Download MCUEZASM12 User Guide
Transcript
Freescale Semiconductor, Inc. Assembler Messages Message Codes 12.3.1 A1000: Conditional Directive not Closed Type: Error Description: One of the conditional blocks is not closed. A conditional block can be opened using one of these directives: IF, IFEQ, IFNE, IFLT, IFLE, IFGT, IFGE, IFC, IFNC, IFDEF, IFNDEF Freescale Semiconductor, Inc... Example: IFEQ (defineConst) const1: DC.B 1 const2: DC.B 2 Tip: Close the conditional block with an ENDIF or ENDC directive. Example: IFEQ (defineConst) const1: DC.B 1 const2: DC.B 2 ENDIF Be careful: A conditional block, which starts inside a macro, must be closed within the same macro. Example: The following portion of code generates an error, because the conditional block IFEQ is opened within the macro MyMacro and is closed outside the macro. MyMacro: MACRO IFEQ (SaveRegs) NOP NOP ENDM NOP ENDIF MCUez HC12 Assembler MOTOROLA User’s Manual Assembler Messages For More Information On This Product, Go to: www.freescale.com 247