Hello Tom,

    JMP 5     terminates a program

Just a minor nitpick: that will be `jmp 0' (with cs = PSP).  `call 5'
performs a syscall with the syscall number in the cl register.

(Also, I recall --- if I remember correctly --- the actual CP/M-86
actually exposes a different `int 0xe0' interface for syscalls; and
MS-DOS's `jmp 0' and `call 5' interfaces were actually based on the 8080
version of CP/M.)

Thank you!

--
https://gitlab.com/tkchia :: https://github.com/tkchia


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to