Listing of Macro Assembler Directives

ALIGNMENT:

<bold>.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

<bold>.ident Stores string in a section called <bold>.comment

SECTION CONTROL:

<bold>.text Specifies text segment

<bold>.data Specifies data segment

.set Controls instruction reordering

<bold>.section Specifies named segment

.previous Undoes the most recent .section

.org Specifies absolute segment

SYMBOL DEFINITION:

.export External identifier

.import External identifier

<bold>.comm Common block

<bold>.bss Local identifier

.weak Weak symbols

.lcomm Local common block

FILE INCLUSION:

.include Includes header file

MACRO DEFINITION:

<bold>.macro Defines a macro

<bold>.endm Ends macro definition

<bold>.exitm Exits from current macro

REPEAT BLOCKS:

<bold>.rept Repeats the following statements

<bold>.endr Ends repeat block

CONDITIONALS:

<bold>.if Enters a conditional block

<bold>.else Conditional block alternative

<bold>.elseif Alternative plus new conditional test

<bold>.endif Ends conditional block

LISTING FORMAT:

<bold>.warning Emits warning messages

<bold>.nowarning Does not emit warning messages

<bold>.list Turns listing on. This is the default.

<bold>.nolist Turns listing off

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

<bold>.nogen Turns listing of macro generation off

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

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

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

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


Previous

Next



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