Step 3Debugging and checking the code
First we will dissassemble back the app in memory:
- u 0100
????:0100 B409 MOV AH, 09
????:0102 BA0801 MOV DX, 0108
????:0105 CD21 INT 21
????:0107 C3 RET
The rest is the string data that is mistakelly taken as code, the app ends at ????:0115
Why not check now the data? to do so:
- d 0100
????:0100 B4 09 BA 08 01 CD 21 C3-48 65 6C 6F 20 57 6F ......!.Hello Wo
????:0110 72 6C 64 21 24 ?? ?? ??-?? ?? ?? ?? ?? ?? ?? rld!$
Data after ????:0115 is trash that will never be executed or saved to the .COM, so, is ok if they are different from the snapshot :)
Our next step should be executing the Hello World APP!! Yay.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|












































