• Indexed relative to H:X — Five submodes including auto increment
• Indexed relative to SP — Improves C efficiency dramatically
• Memory-to-memory data move instructions with four address mode combinations
• Overflow, half-carry, negative, zero, and carry condition codes support conditional
branching on the results of signed, unsigned, and binary-coded decimal (BCD)
operations
• Efficient bit manipulation instructions
• STOP and WAIT instructions to invoke low-power operating modes
10.2 Programmer's Model and CPU Registers
shows the five CPU registers. CPU registers are not part of the memory map.
SP
PC
CARRY
ZERO
NEGATIVE
INTERRUPT MASK
HALF-CARRY (FROM BIT 3)
ACCUMULATOR
A
INDEX REGISTER (X)
INDEX REGISTER (H)
STACK POINTER
PROGRAM COUNTER
CCR
C
V 1 1 H I N Z
TWO’S COMPLEMENT OVERFLOW
0
7
0
0
15
15
0
15
CONDITION CODE REGISTER
16-BIT INDEX REGISTER H:X
7
8
0
7
Figure 10-1. CPU Registers
10.2.1 Accumulator (A)
The A accumulator is a general-purpose 8-bit register. One input operand from the
arithmetic logic unit (ALU) is connected to the accumulator, and the ALU results are
often stored into the A accumulator after arithmetic and logical operations. The
Programmer's Model and CPU Registers
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
198
NXP Semiconductors
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...