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
Summary of Contents for PSoC DESIGNER ImageCraft M8C
Page 6: ...6 ImageCraft Assembly Language Guide Document 001 44475 Rev B Contents Feedback ...
Page 10: ...10 ImageCraft Assembly Language Guide Document 001 44475 Rev B Introduction Feedback ...
Page 24: ...24 ImageCraft Assembly Language Guide Document 001 44475 Rev B M8C Microprocessor Feedback ...
Page 95: ...ImageCraft Assembly Language Guide Document 001 44475 Rev B 95 Assembler Directives Feedback ...
Page 96: ...96 ImageCraft Assembly Language Guide Document 001 44475 Rev B Assembler Directives Feedback ...
Page 104: ...104 ImageCraft Assembly Language Guide Document 001 44475 Rev B Feedback ...
Page 108: ...108 ImageCraft Assembly Language Guide Document 001 44475 Rev B Index Feedback ...