开发者

8086 Assembly interrupts for reading/writing binary to/from files?

开发者 https://www.devze.com 2023-01-06 16:51 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消