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

相关推荐
HerayChen3 小时前
HbuilderX 内存溢出报错
java·大数据·linux
呱呱巨基4 小时前
Linux 进程概念
linux·c++·笔记·学习
liulilittle4 小时前
C++ 浮点数封装。
linux·服务器·开发语言·前端·网络·数据库·c++
Xの哲學4 小时前
Linux Miscdevice深度剖析:从原理到实战的完整指南
linux·服务器·算法·架构·边缘计算
你们补药再卷啦4 小时前
ai(二)ubuntu22.04配置环境
linux·ubuntu
yong15858553434 小时前
2. Linux C++ muduo 库学习——原子变量操作头文件
linux·c++·学习
泽02024 小时前
Linux信号专题
linux·运维·服务器
天天进步20155 小时前
【Linux 运维】告别 cat:如何按“时间段”优雅地截取日志文件?
linux·运维·服务器
zl_dfq5 小时前
Linux 之 【进程等待】
linux
遇见火星5 小时前
Linux性能调优:理解CPU中的平均负载和使用率
linux·运维·服务器·cpu