22 lines
241 B
ArmAsm
22 lines
241 B
ArmAsm
.sect .text; .sect .rom; .sect .data; .sect .bss
|
|
.sect .text
|
|
utssys = 57
|
|
.define _ustat
|
|
|
|
_ustat:
|
|
.data2 0x0000
|
|
pushl $2
|
|
pushl 4(ap)
|
|
pushl 8(ap)
|
|
calls $3,Isys
|
|
ret
|
|
|
|
Isys:
|
|
.data2 0x0000
|
|
chmk $utssys
|
|
bcc 1f
|
|
jmp cerror
|
|
1:
|
|
clrl r0
|
|
ret
|