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

相关推荐
qq_85730581910 分钟前
ubuntu 22 源码安装bochs
linux·运维·ubuntu
Zhu75811 分钟前
【软件更新】在Ubuntu24 LTS中更新openssl到指定版本,例如openssl3.5.6 LTS
linux·ssh·ssl
ALINX技术博客11 分钟前
【黑金云课堂】VMware Ubuntu 开发环境安装教程
linux·fpga开发·fpga
charlie11451419114 分钟前
嵌入式Linux模块开发——struct module 深度解析:内核模块的核心数据结构
linux·开发语言·数据结构·c
刘某的Cloud20 分钟前
svc中外部流量访问限制
linux·运维·docker·kubernetes·service
code monkey.24 分钟前
【寻找Linux的奥秘】Linux 基础 IO 全解析:从 C 库到内核,吃透文件操作的底层逻辑
linux·c语言·基础io
ZzzZZzzzZZZzzzz…33 分钟前
MySQL还原备份方法3----gtid
linux·运维·数据库·mysql·还原备份
.select.36 分钟前
TCP 6(重传机制)
linux·服务器·tcp/ip
大卡片42 分钟前
IO缓存区
linux·运维·缓存
somi71 小时前
ARM-驱动-03 Linux 字符设备驱动开发
linux·arm开发·驱动开发·自用