Panasonic MN101C77C, F77G user manual ROM Correction Control Register, Rcctr

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 84
Image 84

Chapter 2 CPU Basics

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.

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)

 

7

6

5

4

3

2

1

0

RCCTR

-

-

-

-

-

RC2EN

RC1EN

RC0EN

 

 

 

 

 

 

 

 

 

( At reset : - - - - - 0 0 0 )

 

 

 

 

RC0EN

ROM correction control at 1st address

 

 

 

 

0

Disable

 

 

 

 

1

Enable

 

 

 

 

 

 

 

RC1EN

ROM correction control at 2nd address

 

 

 

 

 

0

Disable

 

 

 

 

1

Enable

 

 

 

 

 

 

 

RC2EN

ROM correction control at 3rd address

 

 

 

 

0

Disable

 

 

 

 

1

Enable

 

 

 

Figure 2-7-2 ROM Correction Control Regiser (RCCTR : x'03F0E', R/W)

II- 32 ROM Correction

Page 84
Image 84
Panasonic MN101C77C, F77G user manual ROM Correction Control Register, Rcctr