Listing of Macro Assembler Directives

ALIGNMENT:

.align Adjusts location counter to a boundary

DATA INITIALIZATION:

.byte Stores values in successive bytes

.short Store values in successive 16-bit words

.long Stores values in successive 32-bit words

.double Stores values as successive 64-bit IEEE-754 floating point

.float Stores values as successive 32-bit IEEE-754 floating point

.ascii Quoted string stored in successive bytes

.asciz Quoted string stored in successive bytes (null-terminated)

.space Zero n bytes of storage

.fill Produces n elements with a given value and size

.literals Forces a dump of all accumulated literals

.ident Stores string in a section called .comment

SECTION CONTROL:

.text Specifies text segment

.data Specifies data segment

.set Controls instruction reordering

.section Specifies named segment

.previous Undoes the most recent .section

.org Specifies absolute segment

SYMBOL DEFINITION:

.export External identifier

.import External identifier

.comm Common block

.bss Local identifier

.weak Weak symbols

.lcomm Local common block

FILE INCLUSION:

.include Includes header file

MACRO DEFINITION:

.macro Defines a macro

.endm Ends macro definition

.exitm Exits from current macro

REPEAT BLOCKS:

.rept Repeats the following statements

.endr Ends repeat block

CONDITIONALS:

.if Enters a conditional block

.else Conditional block alternative

.elseif Alternative plus new conditional test

.endif Ends conditional block

LISTING FORMAT:

.warning Emits warning messages

.nowarning Does not emit warning messages

.list Turns listing on. This is the default.

.nolist Turns listing off

.gen Turns listing of macro generation on. This is the default.

.nogen Turns listing of macro generation off

.eject Puts a form feed (Control-L) into the output listing

.title Puts a title at the top of each page in the output listing

.subtitle Puts a subtitle at the top of each page in the output listing

.sbttl Puts a subtitle at the top of each page in the output listing


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.