ImageCraft Assembly Language Guide, Document # 001-44475 Rev. *B
75
5.
Assembler Directives
This chapter covers all of the assembler directives currently supported by the ImageCraft Assembler.
A description of each directive and its syntax will be given for each directive. ImageCraft Assembler
directives are used to communicate with the ImageCraft Assembler and do not generate code. The
directives allow a firmware developer to conditionally assemble source files, define symbolic
equates for values, locate code or data at specific addresses, etc.
While the directives are often shown in all capital letters, the ImageCraft Assembler ignores case for
directives and instructions mnemonics. However, the ImageCraft Assembler does consider case for
user-defined symbols (i.e., labels).
presents a summary of the assembler directives.
Table 5-1. ImageCraft Assembler Directives Summary
Symbol
Directive
AREA
Area
ASCIZ
NULL Terminated ASCII String
BLK
RAM Byte Block
BLKW
RAM Word Block
DB
Define Byte
DF
Define Floating-point Number
DS
Define ASCII String
DSU
Define UNICODE String
DW
Define Word
DWL
Define Word With Little Endian Ordering
ELSE
Alternative Result of IF Directive
ENDIF
End Conditional Assembly
ENDM
End Macro
EQU
Equate Label to Variable Value
EXPORT
Export
IF
Start Conditional Assembly
INCLUDE
Include Source File
.LITERAL, .ENDLITERAL
Prevent Code Compression of Data
MACRO
Start Macro Definition
ORG
Area Origin
.SECTION, .ENDSECTION Section for Dead-Code Elimination
Suspend - OR F,0
Resume - ADD SP,0
Suspend and Resume Code Compressor
Содержание 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 ...