getpgrp.s 145 B

12345678910
  1. .sect .text; .sect .rom; .sect .data; .sect .bss
  2. .define _getpgrp
  3. .sect .text
  4. _getpgrp:
  5. xor ax,ax
  6. push ax
  7. mov ax,39
  8. call syscal
  9. pop bx
  10. ret