18.08.2013 Views

Meta-Assembler (MASM) Programming Reference Manual

Meta-Assembler (MASM) Programming Reference Manual

Meta-Assembler (MASM) Programming Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MASM</strong> Usage<br />

2-2<br />

ro<br />

so<br />

is the output element name that depends on the directive used as shown in the<br />

following table:<br />

Directive ro<br />

$REL (or absence of $DEF,<br />

$OBJ, or $SOR)<br />

Relocatable output element name<br />

$DEF Omnibus output element name<br />

$OBJ Object module output element name<br />

$SOR Symbolic output element name<br />

If ro is omitted, the assumed name is NAME$ in TPF$.<br />

is the source output element name.<br />

Commas and spaces are significant in the processor call statement since they identify<br />

the different components. Therefore, they must be included whenever a preceding entry<br />

is omitted.<br />

Table 2-1. <strong>MASM</strong> Options<br />

Option Description<br />

A Performs additional address checking to ensure base register specification on<br />

extended mode instructions with a base register selector (b-field) and $EQUFs. A<br />

symbol with a $EQUF must have a base register selector available when used, but it is<br />

not required when the symbol is defined.<br />

If no base register is provided by the $EQUF and B0 is forced on the resulting<br />

instruction due to a $USE directive (only applies to B0 on the $USE), an A flag is<br />

generated since it is assumed that B0 was established as a default and may not be<br />

desirable. If you are not using this technique, the A flag can be ignored by turning off<br />

the A option after verifying that B0 was the desired resultant base register.<br />

B Uses batch format in demand mode (assumed if @BRKPT PRINT$ is active when<br />

<strong>MASM</strong> is initiated).<br />

continued<br />

7830 8269-001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!