ack/mach/sun3/libsys/cerror.s

10 lines
161 B
ArmAsm
Raw Permalink Normal View History

1987-02-20 14:36:01 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define cerror,_errno
cerror:
move.l d0,(_errno)
move.l #-1,d0
rts
.sect .bss
_errno: .space 4