Panasonic MN101C77C Cell Phone User Manual


 
Chapter 2 CPU Basics
II - 32
ROM Correction
2-7-3 ROM Correction Control Register
ROM correction control register (RCCTR) and ROM correction address setting register (RCnAPL,
RCnAPM, RCnAPH) control the ROM correction.
Figure 2-7-2 ROM Correction Control Regiser (RCCTR : x'03F0E', R/W)
76543210
RCCTR
( At reset : - - - - - 0 0 0 )
RC1EN
0
1
RC2EN
0
1
--
RC2EN
---
RC1EN RC0EN
RC0EN
ROM correction control at 1st address
0
1
Enable
Disable
ROM correction control at 2nd address
Enable
Disable
ROM correction control at 3rd address
Enable
Disable
ROM correction control register (RCCTR) enables/disables the ROM correction function to 3 parts of the
program to be corrected. When the RCnEN flag is set, the ROM correction is activated. And when the
ROM address (the instruction execution address) reaches the set address to the ROM correction ad-
dress setting register, it branches indirectly to the RAM address set on the RC vector table (RCnV(L),
RCnV(H)). Set the RCnEN flag after setting the ROM correction address setting register.
ROM Correction Control Register(RCCTR)