  | 
»  | 
 | 
  
 | 
 | 
The .LISTOFF
and .LISTON directives
control the expansion of instructions for all macro invocations,
all predefined subspace declarations, and the .ENTER
and .LEAVE pseudo-operations.
.LISTOFF causes
the Assembler to cease listing expanded instructions until a .LISTON
directive is encountered. .LISTON
causes the Assembler to list expanded instructions until a .LISTOFF
directive is encountered. The default is .LISTON. Syntax  |    |  
 Example  |    |  
 The following is the definition of the macro DECR.
It is referred to in the assembly listing generated when .LISTON
was used with a procedure containing the macro invocation. DECR      .MACRO            LAB,VAL SKF       ADDIL       L'VAL-$global$,%dp           LDW         R'VAL-$global$(%r1),%r20 LAB       ADDIBF,=,N  -1,%r20,LAB           .ENDM             .CODE           .IMPORT $global$           .IMPORT mark           .IMPORT count           .PROC call_DECR           .CALLINFO   FRAME=0, SAVE_RP           .ENTER           DECR        mark,count           .LEAVE           .PROCEND
   |  
 If .LISTOFF
had been used in the above example, the macro invocation DECR,
and the directives .CODE,
.DATA, .ENTER,
and .LEAVE, would
not have been expanded in the assembly listing.   |  
 line offset   hexcode  label    opcode            operands (comment) 1                               .LISTON 2                               .CODE                                 .SPACE $TEXT$,    SPNUM=0,SORT=0                                 .SUBSPA $CODE$,   QUAD=0,ALIGN=8,ACCESS=0x2c 3                               .PROC 4                      call_DECR                 ;proc label 5                               .CALLINFO         FRAME=0,SAVE_RP 6                               .ENTER     00000000 (6BC23FD9)         STW               2,-0x14(0,0x1E)     00000004 (37DE0060)         LDO               0x30(0x1E),0x1E 7   00000008 (2B600000)         ADDIL             L'count-$global$,%dp 8   0000000C (683A0000)         STW               %arg0,R'count-$global$(%r1) 9                               DECR              mark,count;                                                   macro invocation     00000010 (2B600000)         ADDIL             L'VAL-$global$,%dp     00000014 (48340000)         LDW               R'VAL-$global$(%r1),%r20                        LAB     00000018 (AE9F3FF5)         ADDIBF,=          -1,%r20,LAB     0000001C (08000240)         NOP 10                              .LEAVE     00000020 (4BC23F79)         LDW               -0x44(0,0x1E),2     00000024 (E840C000)         BV                0(2)     00000028 (37C03FA1)         LDO               -0x30(0x1E),0 11                              .PROCEND 12                              .EXPORT           call_DECR,ENTRY   13                              DATA                                 .SPACE $PRIVATE$, SPNUM=1,SORT=16                                 .SUBSPA $DATA$,   QUAD=1,ALIGN=8                                                   ACCESS=0x1f 14                              .IMPORT           $global$ 15  40000000 (00000000) count   .WORD             0 16                              .LISTOFF
   |  
  
 |