![Samsung S3C2501X User Manual Download Page 66](http://html.mh-extra.com/html/samsung/s3c2501x/s3c2501x_user-manual_340828066.webp)
S3C2501X
PROGRAMMER'S MODEL
2-7
2.7.3 THE RELATIONSHIP BETWEEN ARM AND THUMB STATE REGISTERS
The THUMB state registers relate to the ARM state registers in the following way:
— THUMB state R0–R7 and ARM state R0–R7 are identical
— THUMB state CPSR and SPSRs and ARM state CPSR and SPSRs are identical
— THUMB state SP maps onto ARM state R13
— THUMB state LR maps onto ARM state R14
The THUMB state program counter maps onto the ARM state program counter (R15)
This relationship is shown in Figure 2-5.
R0
R1
R2
R3
R4
R5
R6
R7
R0
R1
R2
R3
R5
R6
R7
R8
R9
R10
R11
R12
Stack Pointer (R13)
Link Register (R14)
Program Counter (R15)
CPSR
SPSR
Stack Pointer (SP)
Link Register (LR)
Program Counter (PC)
CPSR
SPSR
THUMB State
ARM State
Lo-registers
Hi-registers
R4
Figure 2-5. Mapping of THUMB State Registers onto ARM State Registers
Summary of Contents for S3C2501X
Page 18: ......
Page 275: ...MEMORY CONTROLLER S3C2501X 5 60 NOTES ...
Page 289: ...I2C CONTROLLER S3C2501X 6 14 NOTES ...
Page 373: ...GDMA CONTROLLER S3C2501X 9 24 NOTES ...
Page 435: ...I O PORTS S3C2501X 12 12 NOTES ...