MC9S08GB32 Motorola, MC9S08GB32 Datasheet - Page 129
![no-image](/images/manufacturer_photos/0/4/459/motorola_sml.jpg)
MC9S08GB32
Manufacturer Part Number
MC9S08GB32
Description
Microcontrollers
Manufacturer
Motorola
Datasheet
1.MC9S08GB32.pdf
(290 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC9S08GB32ACFUE
Manufacturer:
FREESCALE
Quantity:
319
Company:
Part Number:
MC9S08GB32ACFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC9S08GB32CFU
Manufacturer:
QFP
Quantity:
513
Company:
Part Number:
MC9S08GB32CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC9S08GB32CFUE
Manufacturer:
QFP
Quantity:
672
Company:
Part Number:
MC9S08GB32CFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S08GB32CFUE
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Company:
Part Number:
MC9S08GB32CFUER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
- Current page: 129 of 290
- Download datasheet (2Mb)
V — Two’s Complement Overflow Flag
H — Half-Carry Flag
I — Interrupt Mask Bit
N — Negative Flag
Z — Zero Flag
C — Carry/Borrow Flag
Freescale Semiconductor
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.
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 condition code bits to automatically add a correction value to the result from a previous ADD or
ADC on BCD operands to correct the result to a valid BCD value.
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 first instruction of the
interrupt service routine is executed.
Interrupts are not recognized at the instruction boundary after any instruction that clears I (CLI or
TAP). This ensures that the next instruction after a CLI or TAP will always be executed without the
possibility of an intervening interrupt, provided I was set.
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. Simply loading or storing an 8-bit or 16-bit value
causes N to be set if the most significant bit of the loaded or stored value was 1.
The CPU sets the zero flag when an arithmetic operation, logic operation, or data manipulation
produces a result of $00 or $0000. Simply loading or storing an 8-bit or 16-bit value causes Z to be set
if the loaded or stored value was all 0s.
The CPU sets the carry/borrow flag when an addition operation produces a carry out of bit 7 of the
accumulator or when a subtraction operation requires a borrow. Some instructions — such as bit test
and branch, shift, and rotate — also clear or set the carry/borrow flag.
1 = Overflow
0 = No overflow
1 = Carry between bits 3 and 4
0 = No carry between bits 3 and 4
1 = Interrupts disabled
0 = Interrupts enabled
1 = Negative result
0 = Non-negative result
1 = Zero result
0 = Non-zero result
1 = Carry out of bit 7
0 = No carry out of bit 7
MC9S08GB/GT Data Sheet, Rev. 2.3
Programmer’s Model and CPU Registers
129
Related parts for MC9S08GB32
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MC1723L](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Motorola, Inc [VOLTAGE REGULATOR]
Manufacturer:
Motorola
Datasheet:
![3N204](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
3N2046367254 MOTOROLA SC (XSTRS/R F)
Manufacturer:
Motorola
Datasheet:
![MPC603PRX300LC](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
MOTOROLA POWERPC 603e MICROPROCESSOR
Manufacturer:
Motorola
![2N7002LT1G/ON](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Motorola Semiconductor Datasheet Library
Manufacturer:
Motorola
![MBRP30035](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
SWITCHMODE Schottky Power Rectifier(POWERTAP III Package)
Manufacturer:
Motorola
Datasheet:
![MBRP20035L](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
SWITCHMODE Schottky Power Rectifirer
Manufacturer:
Motorola
Datasheet:
![MHPM7A15A60A](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
![MHPM7B15A60A](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
![TE53N50E](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Search -----> MTE53N50E
Manufacturer:
Motorola
Datasheet:
![MHPM7B20A60A](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
![MHPM7B8A120A](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
Hybrid Power Module
Manufacturer:
Motorola
Datasheet:
![MBRP20060](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
SCHOTTKY BARRIER RECTIFIER 200 AMPERES 60 VOLT
Manufacturer:
Motorola
Datasheet:
![MJ10048](/images/manufacturer_photos/0/4/459/motorola_tmb.jpg)
Part Number:
Description:
NPN SILICON POWER DARLINGTON TRANSISTOR
Manufacturer:
Motorola
Datasheet: