参数资料
型号: MC68HC05C8AMFB
厂商: FREESCALE SEMICONDUCTOR INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP44
封装: QFP-44
文件页数: 38/116页
文件大小: 781K
代理商: MC68HC05C8AMFB
Central Processor Unit (CPU)
MC68HC05C8A MC68HCL05C8A MC68HSC05C8A Data Sheet, Rev. 5.1
28
Freescale Semiconductor
3.2.1 Accumulator
The accumulator (A) shown in Figure 3-1 is a general-purpose 8-bit register used to hold operands and
results of arithmetic calculations or data manipulations.
3.2.2 Index Register
The index register (X) is an 8-bit register used by the indexed addressing value to create an effective
address. The index register also may be used as a temporary storage area.
3.2.3 Program Counter
The program counter (PC) is a 13-bit register that contains the address of the next byte to be fetched.
3.2.4 Stack Pointer
The stack pointer (SP) contains the address of the next free location on the stack. During an MCU reset
or the reset stack pointer (RSP) instruction, the stack pointer is set to location $00FF. The stack pointer
is then decremented as data is pushed onto the stack and incremented as data is pulled from the stack.
When accessing memory, the seven most significant bits (MSB) are permanently set to 0000011. These
eight bits are appended to the six least significant register bits (LSB) to produce an address within the
range of $00FF to $00C0. Subroutines and interrupts may use up to 64 (decimal) locations. If 64 locations
are exceeded, the stack pointer wraps around and loses the previously stored information. A subroutine
call occupies two locations on the stack; an interrupt uses five locations.
3.2.5 Condition Code Register
The condition code register (CCR) is a 5-bit register in which four bits are used to indicate the results of
the instruction just executed, and the fifth bit indicates whether interrupts are masked. These bits can be
tested individually by a program, and specific actions can be taken as a result of their state. Each bit is
explained here.
H — Half Carry
This bit is set during ADD and ADC operations to indicate that a carry occurred between bits 3 and 4.
I — Interrupt
When this bit is set, the timer and external interrupt are masked (disabled). If an interrupt occurs while
this bit is set, the interrupt is latched and processed as soon as the interrupt bit is cleared.
N — Negative
When set, this bit indicates that the result of the last arithmetic, logical, or data manipulation was
negative.
Z — Zero
When set, this bit indicates that the result of the last arithmetic, logical, or data manipulation was 0.
C — Carry/Borrow
When set, this bit indicates that a carry or borrow out of the arithmetic logical unit (ALU) occurred
during the last arithmetic operation. This bit also is affected during bit test and branch instructions and
during shifts and rotates.
相关PDF资料
PDF描述
MPC8250ACVRMIBX 32-BIT, 266 MHz, RISC PROCESSOR, PBGA516
MPC860TZQ50D4R2 32-BIT, 50 MHz, RISC PROCESSOR, PBGA357
MC908GZ48VFU 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PQFP64
MC9S12GC32PCFA25 16-BIT, FLASH, 25 MHz, MICROCONTROLLER, PQFP48
MC9S12KG128CPU 16-BIT, FLASH, 25 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
MC68HC05C9 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:TECHNICAL DATA
MC68HC05C9A 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AB 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AFB 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AFN 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Microcontrollers