Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DEBUG - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

    Trace command

    Purpose:  Executes one or more instructions starting with the instruc-
              tion at CS:IP, or at =address if it is specified. The = must
              be entered. One instruction is assumed, but you can specify
              more than one with value. Displays the contents of all regi-
              sters and flags after each instruction executes. For a de-
              scription of the display format, see the Register command.

    Format:   T [=address][value]

    Remarks:  The display caused by the Trace command continues until value
              instructions are executed. Therefore, when tracing multiple
              instructions, remember you can suspend the scrolling at any
              time by pressing Ctrl-NumLock (or Pause). Resume scrolling by
              entering any other character.

              Notes:

              1.  The Trace command disables all hardware interrupts before
                  executing the user instruction, and then reenables the
                  interrupts when the trap interrupt occurs following the
                  execution of the instruction.

              2.  TRACE should not be used with any steps that change the
                  contents of the 8259 interrupt mask (ports 20h and 21h).

              3.  If you trace an INT3 instruction, the breakpoint is set
                  at the INT3 location.

    Example:  T

              If the IP register contains 011Ah, and that location contains
              B40Eh (MOV AH,0Eh), this might be displayed:

    AX=0E00  BX=00FF  CX=0007  DX=01FF  SP=039D  BP=0000  SI=005C  DI=0000
    DS=04BA  ES=04BA  SS=04BA  CS=04BA  IP=011C   NV UP DI NG NZ AC PE NC
    04BA:011C   CD21          INT     21

              This displays the results after the instruction at 011Ah
              is executed, and indicates the next instruction to be execu-
              ted is the INT 21h at location 04BA:011Ch.

              T 10

              Sixteen instructions are executed (starting at CS:IP). The
              contents of all registers and flags are displayed after each
              instruction. The display stops after the 16th instruction
              has been executed. Displays may scroll off the screen unless
              you suspend the display by pressing the Ctrl-NumLock (or
              Pause) keys.

See Also: Go Proceed Register address value

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson