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

10 lines
100 B
ArmAsm
Raw Normal View History

2000-02-18 03:39:52 +08:00
.globl cerror
cerror: mov.w r0,_errno
neg.w #1,r0
ret #0
.data
.globl _errno
_errno: .word 0