1995-08-18 15:10:35 +00:00
|
|
|
;exists macro arg1,arg2
|
|
|
|
; ifne ==arg2
|
|
|
|
; move arg1,arg2
|
|
|
|
; elsec
|
|
|
|
; push arg1
|
|
|
|
; endc
|
|
|
|
; endm
|
|
|
|
;
|
1995-08-14 20:06:03 +00:00
|
|
|
|
1995-08-18 15:10:35 +00:00
|
|
|
; exists foo,bar
|
|
|
|
; ifne -1
|
|
|
|
; move foo,bar
|
1995-08-14 20:06:03 +00:00
|
|
|
move foo,bar
|
1995-08-18 15:10:35 +00:00
|
|
|
; elsec
|
|
|
|
; push foo
|
|
|
|
; endc
|
|
|
|
; exists foo
|
|
|
|
; ifne 0
|
|
|
|
; move foo,
|
|
|
|
; elsec
|
|
|
|
; push foo
|
1995-08-14 20:06:03 +00:00
|
|
|
push foo
|
1995-08-18 15:10:35 +00:00
|
|
|
; endc
|
|
|
|
;
|