ImageCraft Assembly Language Guide, Document # 001-44475 Rev. *B
87
Assembler Directives
5.11
Equate Label
EQU
Assigns an integer value to a label. The label and operand are required for an
EQU
directive. The
argument must be a constant or label or “.” (the current PC). Each
EQU
directive may have only one
argument and, if a label is defined more than once, an assembly error will occur.
To use the same equate in more than one assembly source file, place the equate in an .inc file and
include that file in the referencing source files. Do not export equates from assembly source files, or
the PSoC Designer Linker will resolve the directive in unpredictable ways.
Directive
Arguments
EQU
< label> EQU < value | address >
Example:
BITMASK is equated to 1Fh.
BITMASK: EQU 1Fh
Содержание PSoC DESIGNER ImageCraft M8C
Страница 6: ...6 ImageCraft Assembly Language Guide Document 001 44475 Rev B Contents Feedback ...
Страница 10: ...10 ImageCraft Assembly Language Guide Document 001 44475 Rev B Introduction Feedback ...
Страница 24: ...24 ImageCraft Assembly Language Guide Document 001 44475 Rev B M8C Microprocessor Feedback ...
Страница 95: ...ImageCraft Assembly Language Guide Document 001 44475 Rev B 95 Assembler Directives Feedback ...
Страница 96: ...96 ImageCraft Assembly Language Guide Document 001 44475 Rev B Assembler Directives Feedback ...
Страница 104: ...104 ImageCraft Assembly Language Guide Document 001 44475 Rev B Feedback ...
Страница 108: ...108 ImageCraft Assembly Language Guide Document 001 44475 Rev B Index Feedback ...