![Samsung S3C2501X User Manual Download Page 97](http://html.mh-extra.com/html/samsung/s3c2501x/s3c2501x_user-manual_340828097.webp)
INSTRUCTION SET
S3C2501X
3-6
Examples
ADR
R0, Into 1
; Generate branch target address
; and set bit 0 high - hence
; arrive in THUMB state.
BX
R0
; Branch and change to THUMB
; state.
CODE16
; Assemble subsequent code as
Into_THUMB
; THUMB instructions
•
•
•
ADR R5, Back_to_ARM
; Generate branch target to word aligned address
; - hence bit 0 is low and so change back to ARM state.
BX R5
; Branch and change back to ARM state.
•
•
•
ALIGN
; Word align
CODE32
; Assemble subsequent code as ARM instructions
Back_to_ARM
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 ...