User`s manual
28
3.4.8 Differences in Values of Registers
Note that certain general and control registers of both emulators are initialized whenever the system is activated
or the MCU is reset by a command.
Table 3.5 Initial Values of Registers in the MCU and the Emulator
Emulator
Register Name
Power On
Reset (Reset CPU)
MCU
(Power-On Reset)
PC PC value indicated by
the power-on reset
vector
PC value indicated by
the power-on reset
vector
Undefined
ER0 to ER7 H'00000000 Value before the reset Undefined
CCR B’1XXXXXXX B’1XXXXXXX B’1XXXXXXX
EXR B’01111111 Value before the reset B’01111111
MACH H'00000000 Value before the reset Undefined
MACL H'00000000 Value before the reset Undefined
VBR H'00000000 Value before the reset H'00000000
SBR H'FFFFFF00 Value before the reset H'FFFFFF00
Note: X indicates an undefined bit.
3.4.9 Differences in Access to the Internal RAM
In the H8SX/1527 E6000H and H8SX/1527R E6000H emulators, writing to the internal RAM takes one cycle
by default. To make the emulator write data to the RAM in two cycles, the user program must write the value
H’35 to address H’FFFFFD97 before any RAM access. After that, the RAM should not be accessed for at least
one cycle. This address will be reinitialized whenever the reset pin is activated (goes low). In such cases, write
the value H’35 to the same address again after the system has been released from the reset state.
In the actual MCU (H8SX/1527 or H8SX/1527R), writing to the RAM takes a fixed two cycles and H’35 is
always read from address H’FFFFFD97. Writing to the address is invalid.