I'm doing an assembly programming practice, about the Windows debug tool for 32 bits.
The proposed exercise is as follows:
Beginning at the 012F Memory position design an algorithm that show on the screen the following flow of characters "This is my first program in the DEBUG "
They gave us an example of how to print the typical "Hello World" in assembler.
Following this example, then I proceeded to write my version depending on the proposed exercise:
-a jmp 120 -e 0102 "Este es mi primer programa en debug" 0a 0d "$" -a 120 mov ah,09 mov dx,0102 int 21 int 20
All this code, I wrote it, based on the functional example. The only thing that I have changed is the text.
But when executing the program (that is, executing the -g instruction).
I get the following result:
I do not understand where the problem is, I have reviewed the notes, regarding the instructions, but I do not understand what has failed.
My question is:
What is the mistake I made, which leads me to get the wrong result?