Blame | Last modification | View Log | Download
# file opened: opt_listing_act_only.asm1 0000 ORG $12342 1234 ; by default listing is ON (full listing)3 1234 IF 14 1234 ; 1. active branch5 1234 ELSE6 1234 ~ ; 1. ~LISTED~7 1234 ENDIF8 1234 OPT push listact ; remember current state, switch listing to active-only9 1234 IF 110 1234 ; 2. active branch (only)11 1234 ELSE13 1234 ENDIF14 1234 OPT listall ; switch listing back to ALL lines15 1234 IF 116 1234 ; 3. active branch17 1234 ELSE18 1234 ~ ; 3. ~LISTED~19 1234 ENDIF20 1234 OPT pop ; restoring original state21 1234 IF 122 1234 ; 4. active branch23 1234 ELSE24 1234 ~ ; 4. ~LISTED~25 1234 ENDIF26 1234 OPT listact ; switch listing to active-only27 1234 IF 128 1234 ; 5. active branch (only)29 1234 ELSE31 1234 ENDIF32 1234 OPT reset ; reset to default state33 1234 IF 134 1234 ; 6. active branch35 1234 ELSE36 1234 ~ ; 6. ~LISTED~37 1234 ENDIF38 123439 1234 ; nested listing adjusting by suggested push+pop technique40 1234 OPT push listact ; switch active listing twice41 1234 OPT push listact42 1234 IF 143 1234 ; 7. active branch (only)44 1234 ELSE46 1234 ENDIF47 1234 OPT push listoff ; switch listing completely off temporarily# listing file suspended...53 1234 OPT pop ; restored to active listing54 1234 IF 155 1234 ; 9. active branch (only)56 1234 ELSE58 1234 ENDIF59 1234 OPT pop60 1234 IF 161 1234 ; A. active branch (only)62 1234 ELSE64 1234 ENDIF65 1234 OPT pop ; restored to full listing66 1234 IF 167 1234 ; B. active branch68 1234 ELSE69 1234 ~ ; B. ~LISTED~70 1234 ENDIF71 1234# file closed: opt_listing_act_only.asmValue Label------ - -----------------------------------------------------------