
Chapter 2. Functions
2-30
2.6 Profiling
The emulator supports two types of profiling:
•
Checking code memory addresses accessed with instruction executed (IE) bits
•
Measuring execution times with the cycle counter
2.6.1 Instruction Executed (IE) Bits
For each code memory address, the emulator provides an instruction executed (IE) bit for use in
tracking instruction access during execution.
Each access to a code memory address during real-time emulation sets the corresponding IE bit to “1.”
Examining these bits then reveals which instructions were executed during the emulation.
0000H
0001H
0002H
0003H
0004H
Code memory
Execution sets the IE bit at the
a d d r e s s s p e c i f i e d b y t h e
program counter (PC) to "1."
Instruction executed
memory
0FFFDH
0FFFEH
0FFFFH
Figure 2-9 IE Bits
n
Note 1
n
________________________________________________________________________________________________________________
Single-step emulation does not set IE bits.
________________________________________________________________________________________________________________________________
Summary of Contents for Dr.63514
Page 4: ...Table of Contents...
Page 7: ...Preface...
Page 15: ...Chapter 1 Overview...
Page 22: ...Chapter 2 Functions...
Page 69: ...Chapter 3 Setting Up and Starting Up...
Page 76: ...Chapter 4 Additional Usage Notes...
Page 88: ...Appendices...
Page 94: ...Appendices A 7 black brown red orange yellow green blue purple Figure A 4 Probe cable layout...