欢迎访问ic37.com |
会员登录 免费注册
发布采购

MC68HC908AZ32AVFU 参数 Datasheet PDF下载

MC68HC908AZ32AVFU图片预览
型号: MC68HC908AZ32AVFU
PDF下载: 下载PDF文件 查看货源
内容描述: M68HC08微控制器 [M68HC08 Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 324 页 / 3937 K
品牌: FREESCALE [ FREESCALE SEMICONDUCTOR, INC ]
 浏览型号MC68HC908AZ32AVFU的Datasheet PDF文件第37页浏览型号MC68HC908AZ32AVFU的Datasheet PDF文件第38页浏览型号MC68HC908AZ32AVFU的Datasheet PDF文件第39页浏览型号MC68HC908AZ32AVFU的Datasheet PDF文件第40页浏览型号MC68HC908AZ32AVFU的Datasheet PDF文件第42页浏览型号MC68HC908AZ32AVFU的Datasheet PDF文件第43页浏览型号MC68HC908AZ32AVFU的Datasheet PDF文件第44页浏览型号MC68HC908AZ32AVFU的Datasheet PDF文件第45页  
Chapter 3
RAM
3.1 Introduction
This section describes the 1024 bytes of random-access memory (RAM).
3.2 Functional Description
Addresses $0050 through $044F are RAM locations. The location of the stack RAM is programmable with
the reset stack pointer instruction (RSP). The 16-bit stack pointer allows the stack RAM to be anywhere
in the 64K-byte memory space.
NOTE
For correct operation, the stack pointer must point only to RAM locations.
Within page zero are 176 bytes of RAM. Because the location of the stack RAM is programmable, all page
zero RAM locations can be used for input/output (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 all page
zero RAM locations efficiently. 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.
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.
MC68HC908AZ32A Data Sheet, Rev. 2
Freescale Semiconductor
41