News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Accesing a text file

Started by fotschek, February 14, 2005, 06:49:40 PM

Previous topic - Next topic

fotschek

Does anybody know how to access a text file from assembler level (intel 86 type) and then sequentialy reading lines from it. I know that it has something to do with int21h but nothing more. If You have a pice of code which shows how to do it i'd be very glad :)  . any tutorials on it also very well expected!   

grzegorz

p.s. sorry for my english :)

Randall Hyde

Quote from: fotschek on February 14, 2005, 06:49:40 PM
Does anybody know how to access a text file from assembler level (intel 86 type) and then sequentialy reading lines from it. I know that it has something to do with int21h but nothing more. If You have a pice of code which shows how to do it i'd be very glad :)  . any tutorials on it also very well expected!   

grzegorz

p.s. sorry for my english :)

The Art of Assembly Language, both 16-bit and 32-bit versions, have chapters on this very subject. You'll find the Art of Assembly at http://webster.cs.ucr.edu.
Cheers,
Randy Hyde