Category : Assembly Language Source Code
Archive   : ASPIC.ZIP
Filename : ENV.ASM

 
Output of file : ENV.ASM contained in archive : ASPIC.ZIP
*= 0
mac( .macro val)
(val)
.endm

.SETENV "XX=12"
.byte #xx
LAB1 = env(xx)
lab4 = mac(3)
.if EXIST("DO.ASM")
.echo "DO.ASM EXISTS",$a
.endif

.if EXIST("?.ASM")
.echo "OOPS",$7,$a
.else
.echo DONT does not exist!
.endif

.if newer(./"do.asm")
.echo I'm newer than do
.else
.echo do is newer than I am!
.endif
.if newer("do.asm"/"ops.asm")
.if newer("ops.asm"/"do.asm")
.echo do and ops have the same time
.else
.echo do is newer
.endif
.else
.echo ops is newer
.endif


  3 Responses to “Category : Assembly Language Source Code
Archive   : ASPIC.ZIP
Filename : ENV.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/