Category : Files from Magazines
Archive   : PCTJ0287.ZIP
Filename : MLOOPMAC.ASM

 
Output of file : MLOOPMAC.ASM contained in archive : PCTJ0287.ZIP
; Input:
; P1 = label to jump to.
MLOOP macro P1
local skip_label, skip_label1, skip_label2
ifdef P1
if (P1 LE $)
if (($ - P1 + 2) LE 128)
loop P1 ;backward short jump
else
dec cx
jz skip_label
jmp P1
skip_label:
endif
else
dec cx ;forward jump (pass 2)
jz skip_label1
jmp P1
skip_label1:
endif
else
dec cx ;forward jump (pass 1)
jz skip_label2
jmp P1
skip_label2:
endif
endm


  3 Responses to “Category : Files from Magazines
Archive   : PCTJ0287.ZIP
Filename : MLOOPMAC.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/