Hi,
First of all, great work Emanuel! Code is well documented and easy to
understand. That is exactly what this whole project is about, so it is
always good to add comments.
Also, one thing with the library itself: maybe in pdiv, signal error with
the carry flag (CF) instead of setting DX? This would make it more
consistent with other syscalls/libraries in the project, and it would be
much easier to check for an error in code (jc vs. test dx,dx \ jz).
Besides this, the library seems to be really well designed, with logical
choices as for the API.
Wojtek.
PS Thanks for attaching a link to GitHub, it really saves some hassle!