ack/mach/pmds/libsys/cerror.s

16 lines
197 B
ArmAsm
Raw Normal View History

1985-02-07 15:58:40 +00:00
.define cerror
1987-01-27 22:58:33 +00:00
.define _errno
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1985-02-07 15:58:40 +00:00
.extern cerror
cerror: move.l d0,_errno
move.l #-1,d0
rts
.sect .bss
1985-02-07 15:58:40 +00:00
_errno:
.space 4
.sect .text