Here is the output of the R and T command in debug. The command that appears in the third line of the output is the next command to execute not the command that was executed.
In the second line are the flags. These represent the current state of the
processor. In this example, the flags in the second set of output are the
result of the MOV AX,0400 instruction which is found in the
first set of output.
These are the positions for the flags and the possible values they will have. We are only interested in 4 of the 8 flags.
| Overflow | ignore | ignore | Sign | Zero | ignore | ignore | Carry |
| OV or NV | PL or NG | ZR or NZ | CY or NC |
-r AX=0040 BX=5900 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000 DS=0DCA ES=0DCA SS=0DCA CS=0DCA IP=0100 NV UP EI NG NZ NA PO NC 0DCA:0100 B84000 MOV AX,0040 -t AX=0040 BX=5900 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000 DS=0DCA ES=0DCA SS=0DCA CS=0DCA IP=0103 NV UP EI NG NZ NA PO NC 0DCA:0103 053000 ADD AX,0030 -