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

相关推荐
阿巴~阿巴~4 小时前
JsonCpp:C++ JSON处理利器
linux·网络·c++·json·tcp·序列化和反序列化
ao_lang4 小时前
数据链路层
linux·服务器·网络
z***3354 小时前
【MySQL系列文章】Linux环境下安装部署MySQL
linux·mysql·adb
偶像你挑的噻5 小时前
13-Linux驱动开发-中断子系统
linux·驱动开发·stm32·嵌入式硬件
福尔摩斯张5 小时前
Linux进程间通信(IPC)机制深度解析与实践指南
linux·运维·服务器·数据结构·c++·算法
cookies_s_s6 小时前
项目--协程库(C++)前置知识篇
linux·服务器·c++
不过普通话一乙不改名6 小时前
Linux 网络发包的极致之路:从普通模式到 AF_XDP ZeroCopy
linux·运维·网络
jquerybootstrap6 小时前
大地2000转经纬度坐标
linux·开发语言·python
x***13396 小时前
如何在Linux中找到MySQL的安装目录
linux·运维·mysql
4***17547 小时前
linux 网卡配置
linux·网络·php