| Electronic Components Datasheet Search |
|
7220 Datasheet(PDF) 189 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7220 Datasheet(HTML) 189 Page - Renesas Technology Corp |
|
189 / 303 page ![]() 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 |
|
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 |
| 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 |