8086 Assembly interrupts for reading/writing binary to/from files?
I need to read in about 1KB or so of data at a time, manipulate it, and write it to another file. I ne开发者_JAVA技巧ed to do this for at least 100 MB. I have never done any file IO in assembly before.
What interrupts do I need to call and what needs to be in what registers?
Please specify the OS you're targeting. For DOS, google for Ralf Brown's Interrupt List. For linux, look for asm/unistd.h.
精彩评论