ack/mach/m65oo2/libsys/cerror.s

10 lines
159 B
ArmAsm
Raw Permalink Normal View History

2024-02-22 15:13:52 +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