Electronic Components Datasheet Search
  English  ▼

X  

7220 Datasheet(PDF) 189 Page - Renesas Technology Corp

Part # 7220
Description  8-BIT SINGLE-CHIP MICROCOMPUTER
PDF  303 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7220 Datasheet(HTML) 189 Page - Renesas Technology Corp

Back Button 7220 Datasheet HTML 185Page - Renesas Technology Corp 7220 Datasheet HTML 186Page - Renesas Technology Corp 7220 Datasheet HTML 187Page - Renesas Technology Corp 7220 Datasheet HTML 188Page - Renesas Technology Corp 7220 Datasheet HTML 189Page - Renesas Technology Corp 7220 Datasheet HTML 190Page - Renesas Technology Corp 7220 Datasheet HTML 191Page - Renesas Technology Corp 7220 Datasheet HTML 192Page - Renesas Technology Corp 7220 Datasheet HTML 193Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 189 / 303 page
background image
APPLICATION
5.3 Usage example of ROM correction function (M37221M8/MA-XXXSP)
7220 Group User’s Manual
5-16
(2)
Correction example 2
The loop processing is performed between  and Ž in Figure 5.3.3. Two examples of this part are
shown in detail. Example A corrects in loop units and example B corrects only error instructions.
Examples A and B are the same operation, differing in processing time and correction bytes only.
Depending on the contents of loop processing, it may be preferable to include correct codes with the
codes to be corrected, simplifying the correction program and making it easier to read.
When omitting FE96H () and correcting from FE98H, the program cannot move to FE96H by the
BPL instruction (the jump destination addresses of the BPL instruction are limited to bytes between
–128 and +127). Therefore, the example B is provided.
Fig. 5.3.3 Correction example (2)
FE96
FE98
FE99
FE9B
9525
CA
10FB
60
STA

DEX
BPL
Ž
(See note 2)
RTS
Address
Machine
instructions
Description style
Program before correction
Notes 1: In Œ, FE9BH is specified as the return destination address of JMP.
RTS,
RTS is used instead of JMP , the operation is the same as that of JMP .
As a result, the number of bytes is reduced.
2: BPL and BMI, as machine instructions, have no absolute addresses, but relative
Machine
instructions
Description style
Correction program
Example A
9D2501
3A
CA
3003
4C96FE
4C9BFE
STA
INC
DEX
BMI
(See note 2)
JMP
JMP
Œ
(See note 1)
Correction program
Example B
9525
9D2501
3A
CA
10F7
60
STA

STA
INC
DEX
BPL

(See note 2)
RTS (See note 1)
02E0
02E2
02E5
02E6
02E7
02E9
Address
(block 2)
Machine
instructions
Description style
02E0
02E3
02E4
02E5
02E7
02EA
Address
(block 2)
In this example, since the instruction at the return destination address is
even if
addresses as branch destinations.
025H, X
0FE96H
025H, X
0125H, X
A
02E0H
0125H, X
A
02EAH
FE96H
FE9BH



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com