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

相关推荐
achene_ql1 小时前
select、poll、epoll 与 Reactor 模式
linux·服务器·网络·c++
藥瓿亭1 小时前
K8S认证|CKS题库+答案| 9. 网络策略 NetworkPolicy
linux·运维·docker·云原生·容器·kubernetes·cks
千千寰宇2 小时前
[数据传输/网络传输/序列化/计算机组成原理] 字节序/大小端
linux·计算机组成原理/硬件/半导体
LFloyue2 小时前
Linux离线(zip方式)安装docker
linux·docker
Blue桃之夭夭2 小时前
深入理解Optional:处理空指针异常
linux·windows·microsoft
什么半岛铁盒3 小时前
Linux线程与进程关系及底层实现
java·linux·运维
简朴-ocean4 小时前
如何删除linux空的文件夹
linux·运维·服务器
Code Warrior4 小时前
【Linux】Linux基础指令3
linux·服务器
南朝雨4 小时前
linux下安装elasticsearch及ik分词器
linux·elasticsearch·全文检索
leblancAndSherry4 小时前
Gitlab + Jenkins 实现 CICD
linux·运维·docker·kubernetes·gitlab·jenkins