chdir.s 154 B

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