Motor de Búsqueda de Datasheet de Componentes Electrónicos
Selected language     Spanish  ▼
Nombre de pieza
         Descripción


MC908QY2VPE Datasheet(Hoja de datos) 64 Page - Freescale Semiconductor, Inc

No. de Pieza. MC908QY2VPE
Descripción  Microcontrollers
Descarga  184 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Fabricante  FREESCALE [Freescale Semiconductor, Inc]
Página de inicio  http://www.freescale.com
Logo 

 64 page
background image
Central Processor Unit (CPU)
MC68HC908QY/QT Family Data Sheet, Rev. 5
64
Freescale Semiconductor
7.3.5 Condition Code Register
The 8-bit condition code register contains the interrupt mask and five flags that indicate the results of the
instruction just executed. Bits 6 and 5 are set permanently to 1. The following paragraphs describe the
functions of the condition code register.
V — Overflow Flag
The CPU sets the overflow flag when a two's complement overflow occurs. The signed branch
instructions BGT, BGE, BLE, and BLT use the overflow flag.
1 = Overflow
0 = No overflow
H — Half-Carry Flag
The CPU sets the half-carry flag when a carry occurs between accumulator bits 3 and 4 during an
add-without-carry (ADD) or add-with-carry (ADC) operation. The half-carry flag is required for
binary-coded decimal (BCD) arithmetic operations. The DAA instruction uses the states of the H and
C flags to determine the appropriate correction factor.
1 = Carry between bits 3 and 4
0 = No carry between bits 3 and 4
I — Interrupt Mask
When the interrupt mask is set, all maskable CPU interrupts are disabled. CPU interrupts are enabled
when the interrupt mask is cleared. When a CPU interrupt occurs, the interrupt mask is set
automatically after the CPU registers are saved on the stack, but before the interrupt vector is fetched.
1 = Interrupts disabled
0 = Interrupts enabled
NOTE
To maintain M6805 Family compatibility, the upper byte of the index
register (H) is not stacked automatically. If the interrupt service routine
modifies H, then the user must stack and unstack H using the PSHH and
PULH instructions.
After the I bit is cleared, the highest-priority interrupt request is serviced first.
A return-from-interrupt (RTI) instruction pulls the CPU registers from the stack and restores the
interrupt mask from the stack. After any reset, the interrupt mask is set and can be cleared only by the
clear interrupt mask software instruction (CLI).
N — Negative Flag
The CPU sets the negative flag when an arithmetic operation, logic operation, or data manipulation
produces a negative result, setting bit 7 of the result.
1 = Negative result
0 = Non-negative result
Bit 7
654321
Bit 0
Read:
V1
1
H
I
N
Z
C
Write:
Reset:
X1
1X1X
X
X
X = Indeterminate
Figure 7-6. Condition Code Register (CCR)




Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99  100   ...More


Datasheet Download



Número de Pieza relacionado

Número de PiezaDescripción de ComponentesHtml ViewFabricante
MB90350E16-bit Proprietary Microcontrollers 1 2 3 4 5 MoreFujitsu Component Limited.
MC68HC08AS32AMicrocontrollers 1 2 3 4 5 MoreMotorola, Inc
MC68HC908QC16Microcontrollers 1 2 3 4 5 MoreFreescale Semiconductor, Inc
MC68HC908GR16AM68HC08 Microcontrollers 1 2 3 4 5 MoreFreescale Semiconductor, Inc
PIC12F6838-Pin Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology 1 2 3 4 5 MoreMicrochip Technology
Z86E72OTP IR MICROCONTROLLERS 1 2 3 4 5 MoreZilog, Inc.
MB9148232-bit proprietary Microcontrollers CMOS 1 2 3 4 5 MoreFujitsu Component Limited.
AT91SC512384RCT32-bit Secure Microcontrollers 1 2 3 4 5 ATMEL Corporation
AT91SAM7X256AT91 ARM Thumb-based Microcontrollers 1 2 3 4 5 MoreATMEL Corporation
MC9S08AW60Microcontrollers 1 2 3 4 5 MoreFreescale Semiconductor, Inc

Enlace URL

¿ALLDATASHEET es útil para Ud.?  [ DONATE ]  

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Favorito   |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved© Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  , Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp  |   Russian : Alldatasheetru.com
Korean : Alldatasheet.co.kr   |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com  |   Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl