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. Output<br />

2-6<br />

<strong>MASM</strong> produces the following types of output that are under the control of the user:<br />

Printed listing<br />

Relocatable binary (RB), output module (OM), omnibus element, or symbolic output<br />

Updated source input<br />

The <strong>MASM</strong> processor controls the printed listing by allowing text lines to be inserted<br />

and new pages started for readability. Insertion of commentary text is easy and<br />

encourages clear and complete program documentation. The listing can be partially<br />

or completely suppressed.<br />

2.2.1. Output Fields<br />

From left to right, the printed output is divided into the following fields:<br />

Field 1 starts in the first print position and contains error flags, if any.<br />

Field 2 contains the location counter number and value. It is void unless a<br />

relocatable binary element or object module was produced. This field is controlled<br />

by the O option.<br />

Field 3 contains the octal or hexadecimal value associated with the interpretation of<br />

field 5. This field is controlled by the O option.<br />

Field 4 contains source line numbers. It can have several formats.<br />

If two columns of numbers are present, then the left column contains the line<br />

numbers of the source output and the right column contains the line numbers of the<br />

source input (V option listing).<br />

If only one column of numbers is present, then these numbers are the line numbers<br />

of the source output. If the element contains only images produced by the<br />

Conversational Time Sharing (CTS) system (which implies no corrections were<br />

applied through the symbolic input/output routine), there is a single column of CTS<br />

line numbers.<br />

This field is controlled by the C option.<br />

Field 5 contains the source image seen by <strong>MASM</strong>. This field is controlled by the C<br />

option.<br />

If the element contains only images produced by EDIT 1100 in the Interactive<br />

Processing Facility (IPF 1100) environment, there is a single column of sequential<br />

line numbers. <strong>MASM</strong> does not produce segmented line numbers.<br />

7830 8269-001

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

Saved successfully!

Ooh no, something went wrong!