Originally Posted by deviljin
actually we are not on hardware yet. basically we are just starting. I mean we are still using DOS prompt to put the codes in.
lol. And the DOS prompt is running on what hardware? Or is it just somehow running in empty space?
A PC is still hardware. So the instruction set is most likely x86, and for printing characters to the screen you need a software interrupt - don't know which as I don't know much about programming PCs at the assembly level. Google "pc assembly programming" - this returned about 311,000 results when I just tried it and there should be something in there to get you started. These all look relevant:
- this has TASM examples you can work through and Chapter 8 deals with screen output and INT 21 (the software interrupt for displaying to the screen).