ack/mach/pmds4/libsys/cerror.s

16 lines
197 B
ArmAsm
Raw Permalink Normal View History

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