Assembler Directives and Pseudo-Operations

Directive

Function

 

 

.PROC

Marks the first statement in a procedure.

 

 

.PROCEND

Marks the last statement in a procedure.

 

 

.REG

Attaches a type and number to a user-defined

 

register name.

 

 

.SHLIB_VERSION

Inserts a date string into the object module as a

 

shared-library version identifier.

 

 

.SPACE

Declares a new space or switches back to a

 

previous space.

 

 

.SUBSPA

Declares a new subspace or switches back to a

 

previous subspace.

 

 

.VERSION

Inserts the specified string into the current

 

object module as a user-defined version

 

identification string.

 

 

Table 4-2

Pseudo-Operations

 

 

 

 

 

Directive

Function

 

 

 

 

.BLOCK

Reserves a block of data storage.

 

 

 

 

.BLOCKZ

Reserves a block of data storage.

 

 

 

 

.BYTE

Reserves 8 bits (a byte) of storage and

 

 

initializes it to the given value.

 

 

 

 

.DOUBLE

Initializes 64 bits (a double-word) of storage to

 

 

a floating-point value.

 

 

 

 

.DWORD

Reserves 64 bits (a double word) of storage and

 

 

initializes it to the given value.

 

 

 

 

.ENTER

Marks a procedure's entry point and generates

 

 

standard entry code.

 

 

 

 

.FLOAT

Initializes a single-word of storage to a

 

 

floating-point value.

 

 

 

Chapter 4

55