English
Language : 

MC68HC908RF2 Datasheet, PDF (43/254 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Advance Information — MC68HC908RF2
Section 3. Random-Access Memory (RAM)
3.1 Contents
3.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.3 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.2 Introduction
This section describes the 128 bytes of random-access memory (RAM).
3.3 Functional Description
Addresses $0080–$00FF are RAM locations. The location of the stack
RAM is programmable.
NOTE: For correct operation, the stack pointer must point only to RAM
locations.
Before processing an interrupt, the CPU uses five bytes of the stack to
save the contents of the CPU registers.
NOTE: For M68HC05, M6805, and M146805 compatibility, the H register is not
stacked.
During a subroutine call, the CPU uses two bytes of the stack to store
the return address. The stack pointer decrements during pushes and
increments during pulls.
NOTE:
Be careful when using nested subroutines. The CPU could overwrite
data in the RAM during a subroutine or during the interrupt stacking
operation.
MC68HC908RF2 — Rev. 1
MOTOROLA
Random-Access Memory (RAM)
Advance Information
43