home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 22
/
AACD 22.iso
/
AACD
/
Programming
/
powerd
/
lib
/
powerd.lha
/
powerd_ppc
/
IsNum.ass
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1980-10-26
|
199 b
|
19 lines
# IsNum(r3:LONG)(LONG)
.text
.global _IsNum
_IsNum:
cmpwi r3,"0"
blt .false
cmpwi r3,"9"
bgt .false
.true: li r3,-1
blr
.false: li r3,0
blr
.type _IsNum,@function
.size _IsNum,$-_IsNum