getpid.s 147 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