III.11.9 Representation in the List File

Sometimes macro expansions tend to produce much more listing lines than resulting code. To list or not to list - that is the question! The requirements to either get a better overall view or more detailed information may vary in different development phases or program sections. To always get the best results, a number of general controls has been introduced, which influence the representation of macro expansions and IFxx constructions in the list file (see chapter III.8 Assembler Controls):

ControlTypeDefaultAbbreviationMeaning
$GEN
$NOGEN
$GENONLY
G
G
G
$GEN $GE
$NOGE
$GO
list macro calls and expansion lines
list macro calls only
list expansion lines only
$COND
$NOCOND
$CONDONLY
G
G
G
$COND ---
---
---
list full IFxx .. ENDIF constructions
don't list lines in false branches
list assembled lines only
$SAVE
$RESTORE
G
G
  $SA
$RS
save current $LIST/$GEN/$COND state
restore old $LIST/$GEN/$COND state