getpid.s 115 B

1234567
  1. .sect .text; .sect .rom; .sect .data; .sect .bss
  2. .define _getpid
  3. .sect .text
  4. _getpid:
  5. mov ax,20
  6. call syscal
  7. ret