ImageCraft Assembly Language Guide, Document # 001-44475 Rev. *B
93
Assembler Directives
5.17
Area Origin
ORG
Allows the programmer to set the value of the Program/Data Counter during assembly. This is most
often used to set the start of a table in conjunction with the define directives
DB
,
DS
, and
DW
. The
ORG
directive can only be used in areas with the ABS mode.
An operand is required for an
ORG
directive and may be an integer constant, a label, or “.” (the cur-
rent PC). The ImageCraft Assembler does not keep track of areas previously defined and will not
flag overlapping areas in a single source file.
Directive
Arguments
ORG
< address >
Example:
The bytes defined after the ORG directive are at address 1000.
ORG 1000h
DB 55h, 66h, 77h
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 ...