cool nasm tricks

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
libber

cool nasm tricks

Post by libber »

I shall start this thread with a question but I am interested in hearing neat/useful things you have done with nasm, macros you use, usefull little things and such. So i am here typing (well copy and pasting) all these ISRs, and i am lazy so i was wondering if i could use the nasm rep prefix (http://alien.dowling.edu/~rohit/nasmdoc ... ection-4.5) and have it make my isrs because the isr code is all the same except for the call instruction and that increases by one each time (call int_00, then call int_01). I am sure there are some neat things people have done with the NASM preprocessor so I would love to hear about them.

Libber
Post Reply