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

相关推荐
赖small强11 分钟前
【Linux 内存管理】Linux系统中CPU内存访问机制与性能优化(32位/64位系统)
linux·内存对齐·tlb·对齐访问·aligned access
逸之猿19 分钟前
HackRF One 实现GPS欺骗
linux
退役小学生呀23 分钟前
二十六、K8s集群备份恢复
linux·云原生·容器·kubernetes·k8s
dragoooon3423 分钟前
[Linux网络基础——Lesson14.「高性能网络模式:Reactor 反应堆模式」]
linux·运维·网络
赖small强40 分钟前
【Linux 内存管理】深入解析 Linux Cache Line 的原理、价值及 MIPS CPU 处理机制
linux·缓存·内存对齐·cache line
CaracalTiger41 分钟前
在openEuler操作系统中多样性算力支持与性能压力测试操作
linux·运维·git·开源·开放原子·压力测试·开源软件
风123456789~42 分钟前
【Linux专栏】rsync实验-同步指定日期前的文件
linux·脚本·rsync
呆子罗1 小时前
[解决方案]企业级ASP.NET CORE项目部署方案 IIS NGINX Win/Linux
linux·nginx·asp.net
艾莉丝努力练剑1 小时前
【Linux基础开发工具 (六)】Linux中的第一个系统程序——进度条Linux:详解回车、换行与缓冲区
java·linux·运维·服务器·c++·centos
liliangcsdn1 小时前
conda环境jupyter-lab GLIBCXX_3.4.29问题探索
linux·conda