ack/mach/vax4/libsysV_2/uname.s

23 lines
239 B
ArmAsm
Raw Normal View History

1990-01-11 16:00:19 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
utssys = 57
1987-02-02 16:06:51 +00:00
1990-01-11 16:00:19 +00:00
.define _uname
1987-02-02 16:06:51 +00:00
_uname:
1990-01-11 16:00:19 +00:00
.data2 0x0000
1987-02-02 16:06:51 +00:00
pushl $0
pushl $0
pushl 4(ap)
1990-01-11 16:00:19 +00:00
calls $3,Isys
1987-02-02 16:06:51 +00:00
ret
1990-01-11 16:00:19 +00:00
Isys:
.data2 0x0000
1987-02-02 16:06:51 +00:00
chmk $utssys
1990-01-11 16:00:19 +00:00
bcc 1f
1987-02-02 16:06:51 +00:00
jmp cerror
1990-01-11 16:00:19 +00:00
1:
1987-02-02 16:06:51 +00:00
clrl r0
ret