简体   繁体   中英

Send register value to RAM assembly lanuguage

I am making a DOS picture viewer. For the next part I must set it so that it finds the value of each pixel then sends it to a file I'm using AH=40 INT 21 to send it to the file, but the data must be in the program but I'm using AH=0D INT 10 to find the color of the pixel and it saves it in a register. I need to make a byte in the file the value of a register. I probally need to do something like DB "reister value". In other words I need to make address 0250 lets say be the value of AL, or send the register value to RAM. Im running in 'AH=0 AL=13 INT 10' 64000 pixels 256 colors

无需处理任何内容hb800是基于文本的模式0的位置-屏幕0。它是二进制的,因此您只需引用它即可加载到需要的位置。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM