I wrote a set of macros for the development of my OS so I thought someone out here might find it useful. Sorry about the "unorthodox" call convention though (I came up with mine

To be used with Netwide Assembler (nasm).
Let me know if its useful to you; and you can also ask me questions.