ack/mach/vax4/libsysV_2/cerror.s
1990-01-11 16:00:19 +00:00

14 lines
174 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define cerror
.define _errno
.sect .bss
.comm _errno, 4
.sect .text
cerror:
movl r0,_errno
mnegl $1,r0
ret