_cerrno.s - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
       _cerrno.s (128B)
       ---
            1         .file        "_cerrno.s"
            2         .globl        _cerrno
            3 
            4 _cerrno:
            5         cmp        x0,#0
            6         b.lt        1f
            7         ret
            8 
            9 1:        neg        x0,x0
           10         adr        x1,errno
           11         str        w0,[x1]
           12         mov        x0,#-1
           13         ret