ngi.s 296 B

12345678910111213141516171819
  1. .sect .text; .sect .rom; .sect .data; .sect .bss
  2. .sect .text
  3. .define .ngi
  4. ! #bytes in eax
  5. .ngi:
  6. pop ebx ! return address
  7. cmp eax,4
  8. jne 1f
  9. pop ecx
  10. neg ecx
  11. push ecx
  12. jmp ebx
  13. 1:
  14. .extern EODDZ
  15. .extern .trp
  16. mov eax,EODDZ
  17. push ebx
  18. jmp .trp