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

相关推荐
modelmd18 分钟前
Linux SIGTERM信号-实验
linux
云泽80823 分钟前
Git 版本控制系统(上):架构原理与操作入门
linux·git·架构
凌云若寒39 分钟前
CODESOFT试用流程
linux·运维·网络·数据库·sentinel
吴声子夜歌1 小时前
Linux命令——学习Shell(三)
linux·chrome·学习
小猪佩奇TONY1 小时前
Linux 内核学习(18) --- linux dma_buf 机制
linux·运维·学习
Dream Cosmos2 小时前
自旋锁:从忙等待、原子操作到线程同步
linux
kaixin_啊啊2 小时前
PandaWiki 本地 AI 知识库实战:文档导入、智能问答与远程访问
linux·服务器·人工智能·windows·ai
handler012 小时前
【Linux】进程退出、等待与程序替换
linux·运维·exec·进程·进程等待·进程退出·程序替换
Linux-lucky2 小时前
33-Linux学习之旅之MySQL用户管理
java·linux·运维·学习·mysql·ubuntu
像风一样的男人@2 小时前
linux --安装openGL,EGL/OSMesa
linux·运维·服务器