ack/mach/i86/libsys/cerror.s

10 lines
159 B
ArmAsm
Raw Normal View History

1987-01-08 10:41:08 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define cerror
.extern cerror
.extern _errno
cerror:
mov (_errno),ax
mov dx,-1
mov ax,dx
ret