Trace - Motorola M68HC11EVBU User Manual

Universal evaluation board
Hide thumbs Also See for M68HC11EVBU:
Table of Contents

Advertisement

OPERATING INSTRUCTIONS
T

4.6.16 Trace

T [<n>]
where:
<n>
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). Each event message line
includes a disassembly of the instruction that was traced and a register display showing the CPU
state after execution of the traced instruction. The trace command operates by setting the OC5
interrupt to time out after the first cycle of the first user opcode fetched.
The RD command was used to set the user PC register to $FF85
prior to starting the following trace examples.
>T<CR>
JMP
>
>T 2<CR>
PSHA
PSHB
>T 3<CR>
PSHX
JSR
$E19D
CMPA #$61
>T 4<CR>
BLT
$E1A7
RTS
CMPA #$30
BLT
$E223
>
4-30
is the number (in hexadecimal, $1-FF max.) of instructions to execute. A
default value of 1 is used if <n> is not specified.
SINGLE TRACE EXAMPLE
$E1F7 P-E1F7 Y-FFFF X-FFFF A-44 B-FF C-10 S-0046
MULTIPLE TRACE EXAMPLES
P-E1F8 Y-FFFF X-FFFF A-44 B-FF C-10 S-0046
P-E1F9 Y-FFFF X-FFFF A-44 B-FF C-10 S-0045
P-E1FA Y-FFFF X-FFFF A-44 B-FF C-10 S-0043
P-E19D Y-FFFF X-FFFF A-44 B-FF C-10 S-0041
P-E19F Y-FFFF X-FFFF A-44 B-FF C-19 S-0041
P-E1A7 Y-FFFF X-FFFF A-44 B-FF C-19 S-0041
P-E1FD Y-FFFF X-FFFF A-44 B-FF C-19 S-0043
P-E1FF Y-FFFF X-FFFF A-44 B-FF C-19 S-0043
P-E223 Y-FFFF X-FFFF A-44 B-FF C-19 S-0043
NOTE
Trace
M68HC11EVBU/D

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

M68hc11evbdM68hc11evbu/d

Table of Contents