
Chapter 2. Functions
2-28
Tracing starts at code memory
address 100H, but trace enable bits
limit it to addresses 102H through
105H.
0
1
1
1
1
1
0
0
Trace enable bits
1
1
Trace start
address
Trace stop
address
MOV A, #3H
MOV H, #8H
MOV L, #2H
MOV [HL], A
MOV [HL], A
INCB HL
MOV A, #4H
NOP
NOP
NOP
100H
101H
102H
103H
104H
105H
106H
107H
108H
109H
Code memory
b. Without trace enable bits
Tracing ignores the contents of the trace enable bits.
n
Note 1
n
________________________________________________________________________________________________________________
Real-time tracing is enabled during real-time emulation and disabled during single-step
emulation.
________________________________________________________________________________________________________________________________
n
Note 2
n
________________________________________________________________________________________________________________
The trigger fires just before execution of the instruction at the corresponding address, so the
instruction at the start address is traced, but not the one at the stop address.
Tracing covers from the MOV A,#3H
instruction at the start address
t h r o u g h t o t h e M O V [ H L ] , A
i n s t r u c t i o n p r e c e d i n g t h e s t o p
address.
Trace start
address
Trace stop
address
MOV L,#0
MOV CBR,#4H
MOV A,#3H
MOV H,#0FH
MOV [HL],A
INCB HL
________________________________________________________________________________________________________________________________
n
Note 3
n
________________________________________________________________________________________________________________
Only start and stop address specifications corresponding to the first word of an instruction
produce results. One specifying the second word of a two-word instruction or an entry in the
ROM table yield a trigger that never fires.
________________________________________________________________________________________________________________________________
Содержание Dr.63514
Страница 4: ...Table of Contents...
Страница 7: ...Preface...
Страница 15: ...Chapter 1 Overview...
Страница 22: ...Chapter 2 Functions...
Страница 69: ...Chapter 3 Setting Up and Starting Up...
Страница 76: ...Chapter 4 Additional Usage Notes...
Страница 88: ...Appendices...
Страница 94: ...Appendices A 7 black brown red orange yellow green blue purple Figure A 4 Probe cable layout...