newlib-cygwin/newlib/libc/sys/sysvnecv70/cerror.s

10 lines
100 B
ArmAsm

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