Assembly Language Fundamentals 61 Source Listing Control Listings of the source code in a module can be obtained during an assembly. These listings contain the line numbers, instructions, and comments from the source lines along with the associated machine addresses and contents of that address. Here is part of a typical listing - 450 01036 14264~ 4bJ 01~37 003005 '.:~ 01041 056003 JMP ++3 ': 'i' '::::.1: -3.("1 .. ~:./ ; . .1,:::;,:".3. ~~~ 0L0~~ 17200~ SAP ++3 I.yp~ "C, )12)~ 'line \absolu~conten~actions ~comments numbers addresses The addresses and contents are displayed in octal representation. Listings are not automatic.
They are obtained in one of two ways- • By using the LIST option in the IASSEMBLE statement. This directs that a listing is desired for all the modules in the statement. The statement wO!lld look like the following examples - • By using the LST pseudo-instruction in the source code itself. Modules can be just partially listed, if desired. This kind of control is achieved by using the LST and UNL pseudo-instructions within the source code, placing the LST before any instructions which you want listed, and placing the UNL before any instructions you do not want listed. For example, if the following source lines are assembled- :::j.(;~:::: 'r .:.. !: :1 ... : 1:::
I only lines 430 through 500 would be listed.