PROGRAMMER
′′
S MODEL
S3C2500B
2-8
2.7.4 ACCESSING HI-REGISTERS IN THUMB STATE
In THUMB state, registers R8–R15 (the Hi registers) are not part of the standard register set. However, the
assembly language programmer has limited access to them, and can use them for fast temporary storage.
A value may be transferred from a register in the range R0–R7 (a Lo register) to a Hi register, and from a Hi
register to a Lo register, using special variants of the MOV instruction. Hi register values can also be compared
against or added to Lo register values with the CMP and ADD instructions. For more information, refer to Figure
3-34.
2.8 THE PROGRAM STATUS
REGISTERS
The ARM9TDMI contains a Current Program Status Register (CPSR), plus five Saved Program Status Registers
(SPSRs) for use by exception handlers. These register
′
s functions are:
— Hold information about the most recently performed ALU operation
— Control the enabling and disabling of interrupts
— Set the processor operating mode
The arrangement of bits is shown in Figure 2-6.
N
Z
C
V
.
.
.
.
.
.
I
F
T
M4
M3
M2
M1
M0
31
30
29
28
27
26
25
24
8
7
6
5
4
3
2
1
0
Condition Code Flags
(Reserved)
Control Bits
Overflow
Carry/Borrow/Extend
Zero
Negative/Less Than
Mode bits
State bit
FIQ disable
FRQ disable
Figure 2-6. Program Status Register Format
Содержание S3C2500B
Страница 2: ...S3C2500B 32 BIT RISC MICROPROCESSOR USER S MANUAL Revision 1 ...
Страница 17: ......
Страница 25: ......
Страница 80: ...PRODUCT OVERVIEW S3C2500B 1 46 NOTES ...
Страница 296: ...MEMORY CONTROLLER S3C2500B 5 60 NOTES ...
Страница 531: ...GDMA CONTROLLER S3C2500B 12 24 NOTES ...
Страница 593: ...I O PORTS S3C2500B 15 12 NOTES ...