12.07.2015 Views

MAXQ Core Assembly Guide - Maxim

MAXQ Core Assembly Guide - Maxim

MAXQ Core Assembly Guide - Maxim

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>MAXQ</strong> <strong>Core</strong> <strong>Assembly</strong> <strong>Guide</strong>Undefining SymbolsThe #undefine directive can be used to undefine a replacement previously defined by a #define directive. Thesyntax for this directive is as follows.#undefine The should be an identifier value used in a previous #define directive. If the identifier is an equate ormacro identifier, or if the identifier is undefined, #undefine will have no effect; this is not treated as an error.Once an identifier has been cleared with #undefine, it may be redefined with a different value or as a different typeof preprocessor symbol (macro or equate).#define ONE 01h ; Define identifierZZZ equ 02h ; Equate identifiermove Acc, #ONE ; move Acc, #01h#undefine ONEmove Acc, #ONE#undefine TWO#undefine ZZZ; Remove ONE; move Acc, #ONE; No effect; No effectmove Acc, #ZZZ ; move Acc, #02hONE equ 01h ; ONE can be reused as an equatemove Acc, #ONE ; move Acc, #01hendVersion 1.2 33 of 43 March 7, 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!