参数资料
型号: MC68HSC05K0P
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, MICROCONTROLLER, PDIP16
封装: PLASTIC, DIP-16
文件页数: 90/154页
文件大小: 1544K
代理商: MC68HSC05K0P
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描述
MCK16Z4MPV16B1 16-BIT, MICROCONTROLLER, PQFP144
M35044-001FP 24 X 12 CHARACTERS CRT CHAR DSPL CTLR, PDSO20
MC68HC05C8MP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP40
MC68HC05C8FNR2 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC44
MC68HC05D24CFN 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQCC44
相关代理商/技术参数
参数描述
MC68HSC705C8ACFB 制造商:Rochester Electronics LLC 功能描述:8 BIT MCU, 304 BYTES RAM - Bulk
MC68HSC705C8ACP 制造商:Rochester Electronics LLC 功能描述: 制造商:Freescale Semiconductor 功能描述:
MC68HSC705C8ACS 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HSC705J1ACDW 制造商:Rochester Electronics LLC 功能描述:- Bulk
MC68HSC705J1ACP 制造商:Rochester Electronics LLC 功能描述:8 BIT MCU, 64 BYTES RAM - Bulk