
R01UH0336EJ0102 Rev.1.02
Page 342 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 9 Safety Functions
9.8 Resources Required for Initialization
9.8.1
On-chip RAM
Initial values in on-chip RAM are undefined, so reading it without initialization
raises the possibility of an ECC error. Accordingly, we recommend initializing
the whole on-chip RAM (with any desired values).
Caution
After an uninitialized address is written to, if the same address is read following
the write, an ECC error may occur.
9.8.2
Registers
Initial values for the registers listed below are undefined, so reading them
without initialization raises the possibility of a CPU comparison error.
Accordingly, we recommend initializing all of these registers (with any desired
values).
When initializing the specified registers only according to the conditions,
evaluate them enough before using.
Caution
In some cases these registers will be implicitly used by the C compiler, etc., so
use the start-up routine to initialize these registers.
Table 9-30
List of Registers to be Initialized (Program Registers)
Name
Function
r1
Assembler-reserved register
r2
Address- and data-variables register
r3
Stack pointer (SP)
r4
Global pointer (GP)
r5
Text pointer (TP)
r6 to r29
Address- and data-variables register
r30
Element pointer (EP)
r31
Link pointer (LP)
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...