cerror.s 174 B

12345678910111213
  1. .sect .text; .sect .rom; .sect .data; .sect .bss
  2. .sect .text
  3. .define cerror
  4. .define _errno
  5. .sect .bss
  6. .comm _errno, 4
  7. .sect .text
  8. cerror:
  9. movl r0,_errno
  10. mnegl $1,r0
  11. ret