OPERATING INSTRUCTIONS
M68HC11EVB/D
4-29
29
T
Trace
4.6.17 Trace
T [<n>]
where:
<n>
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 displayed with the event
message is of the next instruction to be executed. The trace command operates by setting the OC5
interrupt to time out after the first cycle of the first opcode fetched.
NOTE
The RD command was used to set the user PC register to $FF85
prior to starting the following trace examples.
SINGLE TRACE EXAMPLE
>T<CR>
JMP $E1F7
P-E1F7 Y-FFFF X-FFFF A-04 B-FF C-10 S-0046
>
MULTIPLE TRACE EXAMPLES
>T 2<CR>
PSHA
P-E1F8 Y-FFFF X-FFFF A-04 B-FF C-10 S-0046
PSHB
P-E1F9 Y-FFFF X-FFFF A-04 B-FF C-10 S-0045
>T 3<CR>
PSHX
P-E1FA Y-FFFF X-FFFF A-04 B-FF C-10 S-0043
JSR $E19D
P-E19D Y-FFFF X-FFFF A-04 B-FF C-10 S-0041
CMPA #$61
P-E19F Y-FFFF X-FFFF A-04 B-FF C-19 S-0041
>T 4<CR>
BLT $E1A7
P-E1A7 Y-FFFF X-FFFF A-04 B-FF C-19 S-0041
RTS
P-E1FD Y-FFFF X-FFFF A-04 B-FF C-19 S-0043
CMPA #$30
P-E1FF Y-FFFF X-FFFF A-04 B-FF C-19 S-0043
BLT $E223
P-E223 Y-FFFF X-FFFF A-04 B-FF C-19 S-0043
>
Summary of Contents for M68HC11EVB
Page 9: ...CONTENTS x M68HC11EVB D ...
Page 35: ...MONITOR PROGRAM 3 8 M68HC11EVB D ...
Page 81: ...OPERATING INSTRUCTIONS 4 46 M68HC11EVB D ...
Page 97: ...SUPPORT INFORMATION 6 12 M68HC11EVB D Figure 6 3 EVB Schematic Diagram Sheet 2 of 2 ...
Page 103: ...APPLICATIONS B 2 M68HC11EVB D Figure B 1 Single Chip Mode Configuration ...