NEC mPD784225 Series User Manual page 81

16-/8-bit single-chip microcontrollers
Table of Contents

Advertisement

Cautions 1. In stack addressing, the entire 1 MB space can be accessed, but the stack cannot be
guaranteed in the SFR area and internal ROM area.
2. The stack pointer (SP) becomes undefined when RESET is input. In addition, even when SP
is in the undefined state, non-maskable interrupts can be acknowledged. Therefore, when
the SP is in the undefined state immediately after the reset is cleared and a request for a non-
maskable interrupt is generated, unexpected operations sometimes occur. To avoid this
danger, always specify the following in the program after clearing a reset.
CHAPTER 3 CPU ARCHITECTURE
RSTVCT
CSEG AT 0
DW
RSTSTRT
to
INITSEG
CSEG BASE
RSTSTRT:
LOCATION 0H; or LOCATION 0FH
MOVG SP, #STKBGN
User's Manual U12697EJ3V0UM
81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd784225y seriesMpd784224Mpd784225Mpd78f4225Mpd784224yMpd784225y ... Show all

Table of Contents