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

相关推荐
萧行之2 小时前
Ubuntu Node.js 版本管理工具 n 完整安装与使用教程
linux·前端
Ares-Wang9 小时前
Linux》》systemd 、service、systemctl daemon-reload、systemctl restart docker
linux·运维·docker
阿拉斯攀登11 小时前
从入门到实战:CMake 与 Android JNI/NDK 开发全解析
android·linux·c++·yolo·cmake
风曦Kisaki14 小时前
# Linux 磁盘查看命令详解:df 与 du
linux·运维·网络
路溪非溪14 小时前
Linux中gpio子系统的现代接口
linux·arm开发·驱动开发
文静小土豆15 小时前
Centos7负载异常过高排查思路(Load Average)
linux
Deitymoon15 小时前
linux——原子操作
linux
亚空间仓鼠16 小时前
OpenEuler系统常用服务(四)
linux·运维·服务器·网络
昪彧翀忞16 小时前
dhcp小实验
linux·服务器·网络
bukeyiwanshui16 小时前
20260407系统间复制文档
linux