home *** CD-ROM | disk | FTP | other *** search
- ;
- ; *** Listing 5 ***
- ;
- ; Solution to MASM 5.0 problem with local labels in REPT blocks.
- ; Brad Levy's solution (also offered by Michael Liebert).
- ;
- dosseg
- .model small
- .code
- mac1 macro
- local testlabel
- jmp testlabel
- testlabel:
- endm
- mac2 macro
- rept 10
- mac1
- endm
- endm
-
- mac2
-
- end
-