MC9S08GB32 Motorola, MC9S08GB32 Datasheet - Page 128
![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: 128 of 290
- Download datasheet (2Mb)
Central Processor Unit (CPU)
8.3.3
This 16-bit address pointer register points at the next available location on the automatic last-in-first-out
(LIFO) stack. The stack may be located anywhere in the 64-Kbyte address space that has RAM and can
be any size up to the amount of available RAM. The stack is used to automatically save the return address
for subroutine calls, the return address and CPU registers during interrupts, and for local variables. The
AIS (add immediate to stack pointer) instruction adds an 8-bit signed immediate value to SP. This is most
often used to allocate or deallocate space for local variables on the stack.
SP is forced to $00FF at reset for compatibility with the earlier M68HC05 Family. HCS08 programs
normally change the value in SP to the address of the last location (highest address) in on-chip RAM
during reset initialization to free up direct page RAM (from the end of the on-chip registers to $00FF).
The RSP (reset stack pointer) instruction was included for compatibility with the M68HC05 Family and
is seldom used in new HCS08 programs because it only affects the low-order half of the stack pointer.
8.3.4
The program counter is a 16-bit register that contains the address of the next instruction or operand to be
fetched.
During normal program execution, the program counter automatically increments to the next sequential
memory location every time an instruction or operand is fetched. Jump, branch, interrupt, and return
operations load the program counter with an address other than that of the next sequential location. This
is called a change-of-flow.
During reset, the program counter is loaded with the reset vector that is located at $FFFE and $FFFF. The
vector stored there is the address of the first instruction that will be executed after exiting the reset state.
8.3.5
The 8-bit condition code register contains the interrupt mask (I) 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 bits in general terms. For a more detailed explanation of how each
instruction sets the CCR bits, refer to the HCS08 Family Reference Manual, volume 1, Freescale
Semiconductor document order number HCS08RMv1/D.
128
Stack Pointer (SP)
Program Counter (PC)
Condition Code Register (CCR)
CONDITION CODE REGISTER
Figure 8-2. Condition Code Register
MC9S08GB/GT Data Sheet, Rev. 2.3
V 1 1 H I N Z
7
C
0
CARRY
ZERO
NEGATIVE
INTERRUPT MASK
HALF-CARRY (FROM BIT 3)
TWO’S COMPLEMENT OVERFLOW
CCR
Freescale Semiconductor
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: