XC68HC08KH12 Motorola, XC68HC08KH12 Datasheet - Page 45

no-image

XC68HC08KH12

Manufacturer Part Number
XC68HC08KH12
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet
Advance Information — MC68HC(7)08KH12
3.1 Contents
3.2 Introduction
3.3 Functional Description
MC68HC(7)08KH12
MOTOROLA
NOTE:
NOTE:
Rev. 1.0
3.2
3.3
This section describes the 384 bytes of RAM.
Addresses $0060 through $01DF are RAM locations. The location of the
stack RAM is programmable. The 16-bit stack pointer allows the stack to
be anywhere in the 64-Kbyte memory space.
For correct operation, the stack pointer must point only to RAM
locations.
Within page zero are 160 bytes of RAM. Because the location of the
stack RAM is programmable, all page zero RAM locations can be used
for I/O control and user data or code. When the stack pointer is moved
from its reset location at $00FF, direct addressing mode instructions can
access efficiently all page zero RAM locations. Page zero RAM,
therefore, provides ideal locations for frequently accessed global
variables.
Before processing an interrupt, the CPU uses five bytes of the stack to
save the contents of the CPU registers.
For M6805 compatibility, the H register is not stacked.
Section 3. Random-Access Memory (RAM)
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Random-Access Memory (RAM)
Advance Information
45

Related parts for XC68HC08KH12