Directive List. Freescale Semiconductor sc100
Reklama
Reklama
Freescale Semiconductor, Inc.
SC_Assem.book Page 88 Thursday, September 23, 2004 10:44 AM
Assembler Directives
Directive List
Table 5.1 Assembler Significant Characters ( continued)
Character
‘
$
>
#
#<
#>
Description
Long addressing mode force operator
Immediate addressing mode operator
Immediate short addressing mode force operator
Immediate long addressing mode force operator
Hexadecimal constants indicator
String constants delimiter
Directive List
Table 5.2 briefly identifies the assembler directives of each type:
• Assembly control
• Symbol definition
• Data definition/storage allocation
• Listing control and options
• Macros and conditional assembly
88 SC100 Assembler User Guide
For More Information: www.freescale.com
Freescale Semiconductor, Inc.
SC_Assem.book Page 89 Thursday, September 23, 2004 10:44 AM
Assembler Directives
Directive List
Table 5.2 Assembler Directive Summary
Type
Assembly Control
Symbol Definition
Directive
ORG
RADIX
UNDEF
WARN
ENDSEC
EQU
GLOBAL
GSET
COMMENT
DEFINE
END
FAIL
HIMEM
INCLUDE
LOMEM
MSG
SECFLAGS
SECTION
SECTYPE
SET
SIZE
TYPE
XDEF
XREF
Description
Start comment lines
Define substitution string
End of source program
Programmer-generated error message
Set high memory bounds
Include secondary file
Set low memory bounds
Programmer-generated message
Initialize memory space and location counters
Change input radix for constants
Undefine the DEFINE symbol
Programmer-generated warning
End section
Equate symbol to a value
Global section symbol declaration
Set global symbol to a value
Set ELF section flags
Start section
Set ELF section type
Set symbol to a value
Set size of symbol in the ELF symbol table
Set symbol type in the ELF symbol table
Define external symbol (COFF only)
Reference external symbol (COFF only)
SC100 Assembler User Guide 89
For More Information: www.freescale.com
Freescale Semiconductor, Inc.
SC_Assem.book Page 90 Thursday, September 23, 2004 10:44 AM
Assembler Directives
Directive List
Table 5.2 Assembler Directive Summary ( continued)
Type
Data Definition and Storage
Allocation
Listing Control and
Options
Directive
DCL
DCW
DS
DSM
DSR
ENDBUF
FALIGN
LIST
ALIGN
BADDR
BSB
BSC
BSM
BUFFER
DC
DCB
NOLIST
NOTE
OPT
PAGE
PRCTL
STITLE
TITLE
Description
Align location counter
Set buffer address
Block storage bit-reverse
Block storage of constant
Allocate storage block for modulo (COFF only)
Start buffer
Define constant
Define constant byte
Define constant long
Define constant word
Define storage
Define storage for modulo (COFF only)
Define reverse carry storage
End buffer
Fetch-set alignment
List the assembly
Stop assembly listing
Include note
Set assembler options
Top of page/size page
Send control string to printer
Initialize program subtitle
Initialize program title
90 SC100 Assembler User Guide
For More Information: www.freescale.com
Stiahnuť
Reklama