当前位置:网站首页>Load/store instruction addressing mode of arm instruction set (2)
Load/store instruction addressing mode of arm instruction set (2)
2022-06-12 11:50:00 【fanxiaoyu321】
List of articles
This note records the second kind of Load/Store The addressing mode of the instruction , These instructions refer to 1) The operand is half word ( Including signed and unsigned ) Of Load/Store Instructions ;2) Of signed byte data Load/Store Instructions ;3) Double character Load/Store Instructions .
The syntax format of the above instruction is as follows :
LDR|STR{<cond>}H|SH|SB|D <Rd>, <address_mode>
These instructions have the following addressing modes :
| grammar | explain | |
|---|---|---|
| 1 | [<Rn>, #+/-<offset_8>] | Immediate offset addressing |
| 2 | [<Rn>, +/-<Rm>] | Register offset addressing |
| 3 | [<Rn>, #+/-<offset_8>]! | Immediate pre update addressing |
| 4 | [<Rn>, #+/-<Rm>]! | Register pre update addressing |
| 5 | [<Rn>], #+/-<offset_8> | Immediate post update addressing |
| 6 | [<Rn>], +/- | Register post update addressing |
Immediate offset addressing
[<Rn>, #+/-<offset_8>]
# 8 Bit immediate numbers are in high order 4 Bit and low 4 Bit separately encoded
offset_8 = (immedH << 4) | immedL
if U == 1 then
address = Rn + offset_8
else
address = Rn - offset_8
Register offset addressing
[<Rn>, +/-<Rm>]
if U == 1 then
address = Rn + Rm
else
address = Rn - Rm
Immediate pre update addressing
[<Rn>, #+/-<offset_8>]!
offset_8 = (immedH << 4) | immedL
if U == 1 then
address = Rn + offset_8
else
address = Rn - offset_8
if CondPassed then
Rn = address
Register pre update addressing
[<Rn>, #+/-<Rm>]!
if U == 1 then
address = Rn + Rm
else
address = Rn - Rm
if CondPassed then
Rn = address
Immediate post update addressing
[<Rn>], #+/-<offset_8>
address = Rn
offset_8 = (immedH << 4) | immedL
if CondPassed then
if U == 1 then
Rn = Rn + offset_8
else
Rn = Rn - offset_8
Register post update addressing
[<Rn>], +/-<Rm>
address = Rn
if CondPassed then
if U == 1 then
Rn = Rn + Rm
else
Rn = Rn - Rm
边栏推荐
- [QNX hypervisor 2.2 user manual] 4.1 method of building QNX hypervisor system
- Socket implements TCP communication flow
- TinyMCE realizes automatic uploading of pasted pictures
- 6.6 rl:mdp and reward function
- 【数据库】sqlite版本升级、降级
- FormatConversionTool. exe
- QML学习 第一天
- 判断网络文件是否存在,获取网络文件大小,创建时间、修改时间
- Basic principle of Doppler effect
- [the 11th national competition of Blue Bridge Cup single chip microcomputer]
猜你喜欢
随机推荐
Socket programming UDP
Simple solution of regular expression
NVIDIA Jetson Nano Developer Kit 入门
manuscript手稿格式准备
Shardingjdbc-5.1.0 monthly horizontal table splitting + read-write separation, automatic table creation and node table refresh
LeetCode 497. 非重叠矩形中的随机点(前缀和+二分)
postman传入list
Go sends SMS based on Tencent cloud
Node crawler puppeter usage
System.IO.FileLoadException异常
One must keep writing, so as not to be submerged by the vast crowd.
6.6 分離卷積
7-5 复数四则运算
Spark common encapsulation classes
Windows10 install mysql-8.0.28-winx64
The first thing with a server
Windows10安装mysql-8.0.28-winx64
ARM指令集之批量Load/Store指令
Deep learning and CV tutorial (14) | image segmentation (FCN, segnet, u-net, pspnet, deeplab, refinenet)
Blue Bridge Cup 2015 CA provincial competition (filling the pit)









