Samsung S3C2500B User Manual page 151

Table of Contents

Advertisement

S3C2500B
Examples
LDRH
STRH
LDRSB
LDRNESH
HERE
STRH
FRED
R1,[R2,-R3]!
R3,[R4,#14]
R8,[R2],#-223
R11,[R0]
R5, [PC,#(FRED-HERE-8)]; Store the half-word in R5 at address FRED
; Load R1 from the contents of the half-word address
; contained in R2-R3 (both of which are registers)
; and write back address to R2
; Store the half-word in R3 at R14+14 but don't write back.
; Load R8 with the sign extended contents of the byte
; address contained in R2 and write back R2-223 to R2.
; Conditionally load R11 with the sign extended contents
; of the half-word address contained in R0.
; Generate PC relative offset to address FRED.
INSTRUCTION SET
3-39

Advertisement

Table of Contents
loading

Table of Contents