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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

2-10<br />

Cross-<strong>Reference</strong> Output Format<br />

Cross-reference output consists of two parts: assembly symbol usage and register usage.<br />

Letters are used to define symbol types as follows:<br />

Label definitions<br />

X<br />

L<br />

S<br />

Entry point or external definition. Also known as a label defined at level 0 of the<br />

main assembly.<br />

Label definition at level 1 of the main assembly.<br />

Label in the assembly listing defined below level 1 of the assembly. These labels<br />

are usually found in a $PROC, $FUNC or $REPEAT loop. S is also used for<br />

labels found in conditional code that is skipped by <strong>MASM</strong>.<br />

Symbol references<br />

U<br />

P<br />

F<br />

N<br />

D<br />

’ ’<br />

Undefined reference. The symbol was undefined when it was encountered<br />

during the assembly.<br />

Procedure call.<br />

Function call.<br />

Node reference or value substitution from a node.<br />

Duplicated value; a reference to a label that caused a D flag during the assembly.<br />

Value substitution (no letter specified).<br />

Register usage<br />

I<br />

Implicit register references, usually from a $EQUF reference, listed in the<br />

register usage table with I.<br />

The line number for references defined or encountered in procedures or functions<br />

reflects the line number of the procedure call. At assembly time, <strong>MASM</strong> uses sequential<br />

line numbers when processing symbols. Thus, a line number specified in the<br />

cross-reference listing is always the sequential line number where the symbol was<br />

processed, but not necessarily the same line number that appears in the assembly listing.<br />

7830 8269-001

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

Saved successfully!

Ooh no, something went wrong!