Profiling; Instruction Executed (Ie) Bits - Oki Dr.63514 User Manual

In-circuit emulator
Table of Contents

Advertisement

Chapter 2. Functions

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.
Code memory
0000H
0001H
0002H
0003H
0004H
0FFFDH
0FFFEH
0FFFFH
________________________________________________________________________________________________________________
n Note 1 n
Single-step emulation does not set IE bits.
________________________________________________________________________________________________________________________________
2-30
Instruction executed
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."
Figure 2-9 IE Bits

Advertisement

Table of Contents
loading

Table of Contents