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

相关推荐
Codefengfeng43 分钟前
CTF工具篇
linux·运维·服务器
上海合宙LuatOS2 小时前
LuatOS核心库API——【i2c】I2C 操作
linux·运维·单片机·嵌入式硬件·物联网·计算机外设·硬件工程
一文解千机3 小时前
wine 优化配置及显卡加速,完美运行Electron 编译的程序(新榜小豆芽、作家助手、小V猫等)
linux·ubuntu·electron·wine·wine优化配置·wine显卡加速·wine大型游戏
2401_858286115 小时前
OS53.【Linux】System V 共享内存(2)
linux·运维·服务器·共享内存
能源革命8 小时前
Ubuntu_24.04 安装OpenClaw教程
linux·ubuntu
laocui19 小时前
树莓派Ubuntu系统安装openclow(豆包+QQ机器人)
linux·运维·ubuntu
qq_242188633210 小时前
快速搭建跨环境检测服务的步骤
linux·开发语言·windows·python·macos
Trouvaille ~10 小时前
【Linux】网络进阶:NAT技术与代理服务器详解
linux·运维·网络·nginx·ip·nat·代理服务器
Codefengfeng11 小时前
binwalk提取文件时无输出文件夹(kali-linux环境)
linux·运维·服务器
好好学习天天向上~~11 小时前
11_Linux学习总结_环境变量
linux·学习