View Single Post
Old May 29th, 2007, 11:44 AM   #4
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 431
Rep Power: 4 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Where exactly does the program fail? Does it not accept the enter key at all? I suggest before trying to accept input, trying to output something beforehand. Also, some of your labels and instructions like jmp main and main: are unecessary, as is the jmp terminate with the terminate: label right after.
Also check out this post at the flatassembler page
http://board.flatassembler.net/topic.php?t=6088
That program prints Hello World! waits for a key press and when a key is entered it powers down, which I think is sort of what you're trying to achieve.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote