Professional Documents
Culture Documents
DEBUG COMMANDS
AIM: To study DEBUG commands and their use in debugging assembly language
programs.
EXAMPLE: -
-a 0100
0B0E:0100
Here, in example 0100 is the value which is stored in to instruction pointer (IP)
register while 0B0E is code segment base then effective address will be
0B0E0+0100=0B1E0 of first instruction.
EXAMPLE: -
-a 0100
0B0E:0100 mov ax, 1234
0B0E:0103 mov bx, 5678
0B0E:0106
-t=0100 2
AX=1234 BX=5678