ack/mach/pmds/libsys/cerror.s
1987-01-27 22:58:33 +00:00

16 lines
197 B
ArmAsm

.define cerror
.define _errno
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
.extern cerror
cerror: move.l d0,_errno
move.l #-1,d0
rts
.sect .bss
_errno:
.space 4
.sect .text