Experimental results
Go to DOS, run debug
Use the R command to view and change the contents of the CPU register.
Modify the contents of the register AX with the R command
Modify the contents of CS and IP with the r command
Use the D command to view the contents of memory 1000:0
See what's at 1000:9
List the contents of the Debug preset address
View the contents of the 1000:0~1000:9 unit
View content in the same physical address with three different segment addresses and offset addresses
Modify the contents of 10 units starting from 1000:0 with the e command
Modify the contents of 3 units starting from 1000:10 with the e command
Write characters to memory with the e command
Write a string to memory with the e command
Write machine code to memory with e command
Use the U command to translate the contents of a memory unit into a assembly instruction display
Use the T command to execute the instruction that Cs:ip points to
Continue execution with the T command
Write instructions to a memory unit starting with 1000:0 with a command
Enter a command from a pre-set address
From the experiment I learned to use debug to view, modify the basic operation of the segment address.
Roughly learned the instructions to modify IP and CS
Programming with machine instructions and assembly instructions (1)