User manual
Monitor12 (MON12) User Manual 05/30/01
20
T - TRACE
T [<n>]
where: <n> is the number (in hexadecimal, $1-FF max.) of instructions to
execute.
The T command allows the user to monitor program execution on an instruction-by-
instruction basis. The user may optionally execute several instructions at a
time by entering a count value (up to $FF). Execution starts at the current
program counter (PC). The PC display with the event message is of the next
instruction to be executed.
The trace command operates by installing a SWI instruction at the next
instruction opcode. Current version does not compute relative addressing or
test and branch offsets to anticipate program counter modification. This means
jump and branch instructions will not be traced. A test and branch instruction
will only trace if condition is false. Trace of Jump to Subroutine (JSR or BSR)
instructions will execute the subroutine before the next trace step break.
Interrupts will not be traced unless a breakpoint is installed in the interrupt
service routine.
EXAMPLES DESCRIPTION
>T SINGLE TRACE
Op- 86
P-0202 Y-DEFE X-FFFF A-44 B-00 C-00 S-004B
>
>T 2 MULTIPLE TRACE (2)
Op-B7
P-0205 Y-DEFE X-FFFF A-44 B-00 C-00 S-004B
Op-01
P-0206 Y-DEFE X-FFFF A-44 B-00 C-00 S-004B
>
TM - TRANSPARENT MODE
The TM command connects the EVB COM1 and COM2 ports, which allows direct
communication between the COM1 terminal port to a device on the COM2 port. All
I/O between the ports are ignored by the EVB until the exit character is entered
from the terminal.
Note that EVB boards without a COM2 port do not support this command.
The TM subcommands are as follows:
(CTRL)A Exit from transparent mode
(CTRL)B Send break to COM2 port.
EXAMPLE DESCRIPTION