English
Language : 

S3C3410X Datasheet, PDF (101/314 Pages) Samsung semiconductor – 16-Bit CMOS Microcontrollers
S3C3410X RISC MICROPROCESSOR
ARM INSTRUCTION SET
LOADING A WORD FROM AN UNKNOWN ALIGNMENT
BIC
LDMIA
AND
MOVS
MOVNE
RSBNE
ORRNE
Rb,Ra,#3
Rb,{Rd,Rc}
Rb,Ra,#3
Rb,Rb,LSL#3
Rd,Rd,LSR Rb
Rb,Rb,#32
Rd,Rd,Rc,LSL Rb
; Enter with address in Ra (32 bits) uses
; Rb, Rc result in Rd. Note d must be less than c e.g. 0,1
; Get word aligned address
; Get 64 bits containing answer
; Correction factor in bytes
; ...now in bits and test if aligned
; Produce bottom of result word (if not aligned)
; Get other shift amount
; Combine two halves to get result
3-63