ack/mach/vax4/libsysV_2/cerror.s

14 lines
174 B
ArmAsm
Raw Normal View History

1990-01-11 16:00:19 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define cerror
.define _errno
1987-02-02 16:06:51 +00:00
1990-01-11 16:00:19 +00:00
.sect .bss
.comm _errno, 4
1987-02-02 16:06:51 +00:00
1990-01-11 16:00:19 +00:00
.sect .text
1987-02-02 16:06:51 +00:00
cerror:
movl r0,_errno
mnegl $1,r0
ret