STR op, [dest1, dest2]
其中:
op |
包含值的暫存器 |
dest1 |
包含地址第一個值的暫存器 |
dest2 |
包含地址第二個值的暫存器 |
N |
Z |
C |
V |
Q |
S |
I |
F |
T |
|
|
|
|
|
|
|
|
|
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
|
6 |
5 |
|
3 |
2 |
|
0 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
dest2 |
dest1 |
op |
1 ;@.text
2 ;@.globl funstr
3 ;@.align 0
4 ;
5 AREA example,CODE,READONLY
6 CODE16
7
8 label1
9 ; Store register R0 to memory at
10 ; address given by value of
11 ; register R1 plus R2.
12 ; R1 points to start of a table,
13 ; R2 is an offset within the table
14 00000000 5088 STR R0, [R1, R2]