English
Language : 

S3C3410X Datasheet, PDF (115/314 Pages) Samsung semiconductor – 16-Bit CMOS Microcontrollers
S3C3410X RISC MICROPROCESSOR
ARM INSTRUCTION SET
OPERATION
These instructions transfer byte or word values between registers and memory. Memory addresses are pre-
indexed using an offset register in the range 0–7. The THUMB assembler syntax is shown in Table 3-14.
Table 3-14. Summary of Format 7 Instructions
L
B
THUMB assembler
ARM equivalent
0
0 STR Rd, [Rb, Ro]
STR Rd, [Rb, Ro]
0
1 STRB Rd, [Rb, Ro]
STRB Rd, [Rb, Ro]
1
0 LDR Rd, [Rb, Ro]
LDR Rd, [Rb, Ro]
1
1
LDRB Rd, [Rb, Ro]
LDRB Rd, [Rb, Ro]
Action
Pre-indexed word store:
Calculate the target address by adding
together the value in Rb and the value in
Ro. Store the contents of Rd at the
address.
Pre-indexed byte store:
Calculate the target address by adding
together the value in Rb and the value in
Ro. Store the byte value in Rd at the
resulting address.
Pre-indexed word load:
Calculate the source address by adding
together the value in Rb and the value in
Ro. Load the contents of the address into
Rd.
Pre-indexed byte load:
Calculate the source address by adding
together the value in Rb and the value in
Ro. Load the byte value at the resulting
address.
INSTRUCTION CYCLE TIMES
All instructions in this format have an equivalent ARM instruction as shown in Table 3-14. The instruction cycle
times for the THUMB instruction are identical to that of the equivalent ARM instruction.
EXAMPLES
STR
LDRB
R3, [R2,R6]
R2, [R0,R7]
; Store word in R3 at the address
; formed by adding R6 to R2.
; Load into R2 the byte found at
; the address formed by adding R7 to R0.
3-77