Renesas R8C/Tiny Series Software Manual page 281

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 6
Calculating the Number of Cycles
I n s t r u c t i o n s
JMP TEST_11
u n d e r e x e c u t i o n
F e t c h c o d e
6 4
C o n t e n t a t j u m p a d d r e s s i s
p r e f e t c h e d a t t h e s a m e t i m e
t h e i n s t r u c t i o n q u e u e b u f f e r
i s c l e a r e d .
0 4
04
I n s t r u c t i o n
0 4
04
q u e u e b u f f e r
0 4
04
J u m p a d d r e s s
B C L K
A d d r e s s b u s
0 C 0 6 5
D a t a b u s
R D
WR
P : I n d i c a t e s a p r e f e t c h ( r e a d i n g f r o m m e m o r y i n t o t h e i n s t r u c t i o n q u e u e b u f f e r ) .
D R : I n d i c a t e s a d a t a r e a d .
D W : I n d i c a t e s a d a t a w r i t e .
: I n d i c a t e s t h e l o c a t i o n s o f t h e i n s t r u c t i o n q u e u e b u f f e r t h a t a r e c l e a r .
Figure 6.1.1 Starting a Read Instruction (without Software Wait States)
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
7 3 F 1
Fetch
F e t c h
7 3
0 4
7 3
0 0
0 0
73
0 0
F 1
0 4
40
4 0
4 0
F 1
0 4
0 0
64
64
0 4
Low-order address from
which to read data
0 C 0 6 8
0 C 0 6 9
0 C 0 6 A
0 C 0 6 B
0 C 0 6 C
0 C 0 6 D
C o n t e n t a t a d d r e s s 4 0 0 0
7 3
F 1
4 0
64
0 0
P
P
P
P
P
page 263 of 263
JMP TEST_12
MOV.W
6 4
0040
Content at jump address is prefetched
at the same time the instruction queue
F e t c h
buffer is cleared.
64
0 4
0 4
04
64
6 4
0 4
04
04
0 4
04
0 4
0 4
0 4
04
04
H i g h - o r d e r a d d r e s s f r o m
w h i c h t o r e a d d a t a
04000
04001
0 C 0 6 E
0C06F
Content at address 4001
1 6
16
AA
AA
04
0 4
0 4
P
DR
D R
P
P
6.1 Instruction Queue Buffer
S a m p l e p r o g r a m s
A d d r e s s
C o d e
0 C 0 6 2
6 4
0 C 0 6 3
0 4
73
7 3
73
0 C 0 6 4
0 4
0 C 0 6 5
0 4
F F
FF
0 C 0 6 6
0 4
0 0
0 C 0 6 7
0 4
0 C 0 6 8
T E S T _ 1 1 :
0 C 0 6 8
7 3 F 1 0 0 4 0
0 C 0 6 C
6 4
0 C 0 6 D
0 4
0 C 0 6 E
0 4
0 C 0 6 F
0 4
0 C 0 7 0
0 4
0 C 0 7 1
0 4
0 C 0 7 2
T E S T _ 1 2 :
0C072
0 C 0 7 3
0 C 0 7 4
F F
73
0 0
P
P
P
I n s t r u c t i o n
J M P
T E S T _ 1 1
N O P
N O P
N O P
N O P
N O P
M O V . W 0 4 0 0 0 h , R 1
J M P
T E S T _ 1 2
N O P
N O P
N O P
N O P
N O P

Advertisement

Table of Contents
loading

Table of Contents