Rom Correction Application - NEC MuPD78F0132H User Manual

8-bit single-chip microcontrollers, 78k0/ke1plus
Table of Contents

Advertisement

25.5 ROM Correction Application

How to apply the example shown in 25.4 is described below.
(1) Store the correction address and instruction after correction (patch program) to nonvolatile memory (such as
TM
EEPROM
) outside the microcontroller.
When two places should be corrected, store the branch destination judgment program as well. The branch
destination judgment program checks which one of the addresses set to correction address registers 0 and 1
(CORAD0 or CORAD1) generates the correction branch.
Figure 25-5. Example of Storing to EEPROM (When One Place Is Corrected)
00H
01H
02H
FFH
CHAPTER 25 ROM CORRECTION
EEPROM
00
10
0D
RA78K0
02
9B
02
10
User's Manual U16899EJ2V0UD
Source Program
CSEG
AT
0000H
DW
#1000H
ADD
A, #2
BR
!1002H
423

Advertisement

Table of Contents
loading

Table of Contents