Step 4Executing the code (...inside DEBUG.EXE)!!
To execute, do this:
-g
Hello World!
Program terminated normally
Well, it seems that went well! Not bad, we are almost done!
It should report that it was terminated normally after you execute it, if not, there a big chance for the screen to be covered with trash characters or maybe DEBUG.EXE crash, this shouldn't happen if you took the prev. step carefully ;)
If you're curious: Code & Data in .COM files are stored and executed in ????:0100 memory, DS and CS point to the current Segment where the code is...
Our next step should be storing the data into a .COM file so we can execute it without needing DEBUG.EXE (also it will save our entire work for far!) ;)
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|










































