参数资料
型号: MC68HC05K0VDW
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PDSO16
封装: SOIC-16
文件页数: 90/154页
文件大小: 1544K
代理商: MC68HC05K0VDW
Technical Data
MC68HC05K0 MC68HC05K1 — Rev. 2.0
40
Central Processor Unit (CPU)
MOTOROLA
Technical Data
3.3.5 Condition Code Register
The condition code register (CCR) shown in Figure 3-6 is an 8-bit
register whose three most significant bits are permanently fixed at 111.
The condition code register contains the interrupt mask and four flags
that indicate the results of prior instructions.
Bits 7–5
Bits 7–5 always read as logic 1.
H — Half-Carry Flag
The CPU sets the half-carry flag when a carry occurs between bits 3
and 4 of the accumulator during an add without carry (ADD) or add
with carry (ADC) operation. The half-carry bit is required for
binary-coded decimal (BCD) arithmetic operations. Reset has no
effect on the half-carry flag.
I — Interrupt Mask Bit
Setting the interrupt mask (I) disables interrupts. If an interrupt
request occurs while the interrupt mask is a logic 0, the CPU saves
the CPU registers on the stack, sets the interrupt mask, and then
fetches the interrupt vector. If an interrupt request occurs while the
interrupt mask is set, the interrupt request is latched. The CPU
processes the latched interrupt as soon as the interrupt mask is
cleared again.
A return-from-interrupt (RTI) instruction pulls the CPU registers from
the stack, restoring the interrupt mask to its cleared state. After a
reset, the interrupt mask is set and can be cleared only by a clear
interrupt mask bit (CLI), STOP, or WAIT instruction.
76543210
Read:
1
H
I
NZC
Write:
Reset:
1
U
1
U
U = Unaffected
Figure 3-6. Condition Code Register (CCR)
相关PDF资料
PDF描述
MR80C154U-25:D 8-BIT, 25 MHz, MICROCONTROLLER, CQCC44
MR80C154U-30:D 8-BIT, 30 MHz, MICROCONTROLLER, CQCC44
MR80C32:R 8-BIT, 12 MHz, MICROCONTROLLER, CQCC44
MC68HC05C8ACB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP42
MC68HC16Z3MFC20 16-BIT, MROM, MICROCONTROLLER, PQFP132
相关代理商/技术参数
参数描述
MC68HC05K1 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K1CDW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K1CP 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K1DW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05K1P 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit