_getpid.s 150 B

12345678
  1. .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
  2. .define __getpid
  3. .extern __getpid, cerror
  4. __getpid: int 0x94
  5. jb 9f
  6. ret
  7. 9:
  8. jmp cerror