forked from chsasank/ARM7
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathload.txt
More file actions
executable file
·18 lines (13 loc) · 837 Bytes
/
Copy pathload.txt
File metadata and controls
executable file
·18 lines (13 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Preindexed:
The offset modification is performed *before* the
base is used as the transfer address.
The W bit gives optional auto increment and decrement addressing modes.
The modified base value may be written back into the base (W=1), or the old base value may be kept (W=0).
So, alu result will be used for writing/reading. and This W bit says if this alu result is written to base register or not.
Postindexed:
The offset modification is performed *after* the
base is used as the transfer address.
In the case of post-indexed addressing, the write back bit is
redundant. Therefore post-indexed data transfers always write back the modified base.
So, alu result will not be used for writing/reading, rather out_data from base register will be used.
No matter what W bit is, we write alu_result to base register.