N |
Z |
C |
V |
Q |
S |
I |
F |
T |
T |
T |
T |
T |
|
|
|
|
|
31 |
|
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
|
16 |
15 |
|
12 |
11 |
|
8 |
7 |
6 |
5 |
4 |
3 |
|
0 |
condition |
0 |
0 |
0 |
P |
U |
I |
W |
0 |
basereg |
op1 |
addr_ mode |
1 |
0 |
1 |
1 |
addr_ mode |
1 ;@.text
2 ;@.globl funstr
3 ;@.align 0
4 ;@ **** STRH (Addressing Mode 3) ****
5 ;
6 AREA example,CODE,READONLY
7
8 label1
9 ; Store lower 2 bytes in R4 to an address
10 ; starting 16 bytes below that held in R10
11 00000000 E14A40B0 STRH R4, [R10,#-Ox10]
12
13 ; Store lower 2 bytes in R1 to address held in R4,
14 ; then increment R4 by an offset given by R2
15 00000004 E0C410B2 STRH R1, [R4], R2
16
17 ; Store lower 2 bytes in R0 to address held in
18 ; R7 with an offset value held in R5
19 00000008 E1A700B5 STRH R0, [R7,R5]!