Infineon Technologies C166S V2 User Manual page 62

16-bit microcontroller
Table of Contents

Advertisement

Address operations
1)
calculate pointer addresses
IDXx = IDX0
2) intermediate address of write pointer
for the parallel mov operation
Intermediate Address = (IDX0) - 2
3)
calculate long 16bit address
Long Address 1 = (IDX0)
4)
calculate 24bit physical address
Physical Address 1 = Page3 + Page offset
5) post modify address pointer
(IDX0)
= (IDX0) + 2
new
Data operations
1)
Read operands
op1 = (Physical Address 1)
2) Write operand op1
(Intermediate Address) = op1
(IDX0)
op1
parallel
move
Figure 2-19 Arithmetic MAC Operations with Parallel Move
User Manual
CoXXXMxx [IDX0+],[R2+]
(updated pointer)
new
(IDX0)
(read pointer)
Intermediate Address
(write pointer for parallel move)
R2 Address = CP + 2*2
(global register bank)
Long Address 2 = (R2)
Physical Address 2 = (DPPi) + Page offset
(R2)
= (R2) + 2
new
op2 = (Physical Address 2)
(R2)
op2
2-62
User Manual
C166S V2
Central Processing Unit
(updated pointer)
new
(R2)
(read pointer)
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents