arm 汇编技巧

  1. 汇编标号:f表示forward, b表示backward:

Here is an example:

1: branch 1f

2: branch 1b

1: branch 2f

2: branch 1b

Which is the equivalent of:

label_1: branch label_3

label_2: branch label_1

label_3: branch label_4

label_4: branch label_3

The "post-indexed" forms mean that the memory address is the base register value, then base plus

offset is written back to the base register.

先用base,再base= base+offset

• The "pre-indexed" forms mean that the memory address is the base register value plus offset, then the

computed address is written back to the base register.

先base= base+offset, 再用base

相关推荐
ShineWinsu2 小时前
对于Qt:TCP的解析
linux·c++·qt·网络协议·面试·tcp·客户端
笔记本note2 小时前
Linux GPIO 技术详解
linux·gpio
东坡大表哥3 小时前
【Ubuntu】Ubuntu 20.04 LTS → 22.04 LTS 升级实录
android·linux·ubuntu
进击的荆棘5 小时前
Linux网络——应用层协议HTTP
linux·运维·服务器·网络·http
jipinxiaofeihua7 小时前
(文章7) 04章-C++异常处理(下)
linux·运维·网络
cpolar技术支持7 小时前
rsync 只看「大小 + 修改时间」:源文件改成 `CCCC-v3`、目标还是 `DDDD-v4`,三条同步命令 rc 全是 0
linux·rsync·cpolar·nas·数据同步
Rsingstarzengjx21 小时前
第三十九章 Linux PWM 驱动实验
linux·运维·服务器
SeanQhl1 天前
BoostKit 环境准备
linux·openeuler·鲲鹏·boostkit·软件源
笔记本note1 天前
Linux 内存管理
linux·服务器·内存管理
郝学胜-神的一滴1 天前
Effective STL 条款 14:用扩容函数避免重新分配
linux·开发语言·网络·数据结构·c++·单片机