Retro68/gcc/newlib/libc/sys/sysvnecv70/cerror.S
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

10 lines
100 B
ArmAsm

.globl cerror
cerror: mov.w r0,_errno
neg.w #1,r0
ret #0
.data
.globl _errno
_errno: .word 0