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-8<br />

Example<br />

1. @<strong>MASM</strong>,LEFV source input,source output<br />

2. <strong>MASM</strong> xxRyy<br />

3. I FLAG GENERATED AT LINE 1<br />

4. I 0 000000 74 06 00 00 0 000000 1. 1 DDDK<br />

5. -1<br />

6 U FLAG GENERATED AT LINE 2<br />

7. U 000000000000 2. 1+ LAB1 $EQU XREF<br />

8. ** BITS 72-0 + XR XREF<br />

9. -2,2<br />

10. 000001 000000000024 3. 3 + 20<br />

11. 4. 4 $END . Comments<br />

12.<br />

13. LOCATION COUNTERS: $(0) 000002 $(1) 000000<br />

14. --------------------------------------------------------------<br />

15. PROCEDURE LIBRARY SEARCH TABLE<br />

16. --------------------------------------------------------------<br />

.<br />

.<br />

.<br />

28. CROSS REFERENCE LISTING<br />

29. ASSEMBLY SYMBOL USAGE X-ETERNAL, L-LABEL, S-SAMPLE/CONDITIONAL LABEL<br />

30. D-DUPLICATED VALUE, N-NODE REFERENCE, P-PROCEDURE, F-FUNCTION, U-UNDEFINED<br />

31. DDDK 1D<br />

32. LAB1 2*<br />

33. XREF 2<br />

34. ASSEMBLY CONTAINS ERRORS: - FLAGS: IU<br />

35. END <strong>MASM</strong> - LINES: 8 TIME: 2.111 STORAGE: 8028 ERRORS: I(1) /U(1)<br />

Explanation<br />

Line 1<br />

<strong>MASM</strong> call line.<br />

Line 2<br />

<strong>MASM</strong> sign-on line showing the product level, date, and time.<br />

Line 3<br />

Error walkback information generated using the E option.<br />

Line 4<br />

Shows the breakdown of the listing fields (see 2.2.1).<br />

Line 5<br />

Line number generated in field 4 due to the V option on the <strong>MASM</strong> call line.<br />

Line 6<br />

Warning walkback information generated using the F option.<br />

7830 8269-001

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

Saved successfully!

Ooh no, something went wrong!