Advertisement

TASM ES:BX

Started by August 23, 2007 09:25 PM
-1 comments, last by dosin 17 years, 3 months ago
mov ah,02h mov al,1 ;number of sectors to read mov ch,0 ;track mov cl,0 ;sector mov dh,0 ;head mov dl,00h int 13h The function above is for reading a disk with bios. The question I have is: It loads the read contents into es:bx.. How would I load this into a string? example string: disk_data db 515 dup(' ') I have tried a lot of different ways and have searched the net.. The onlything I can find is reading and executing the data.. I just want to read a disk and display the data read.. Thanks in advance for any help.. and please don't offer c or c++ help! low level programming only..

This topic is closed to new replies.

Advertisement