home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 109
/
EnigmaAmiga109CD.iso
/
software
/
utilities
/
shellscr
/
src
/
defarg.asm
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1999-11-21
|
218 b
|
10 lines
; a shorter (code and execution-wise) replacement for 'IF x THEN x ELSE y'.
; instead of 'IF x THEN x ELSE y', write 'defarg(x, y)'
xdef defarg__ii
defarg__ii
move.l 8(sp),d0
bne.s .done
move.l 4(sp),d0
.done rts