ack/mach/vax4/libsysV_2/uname.s
1987-02-02 16:06:51 +00:00

22 lines
191 B
ArmAsm

.set utssys,57
.globl _uname
.globl cerror
_uname:
.word 0x0000
pushl $0
pushl $0
pushl 4(ap)
calls $3,sys
ret
sys:
.word 0x0000
chmk $utssys
bcc ok
jmp cerror
ok:
clrl r0
ret