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

相关推荐
路溪非溪2 分钟前
Wireshark抓取以太网MAC帧并进行分析
linux·网络·驱动开发·wireshark
一叶之秋141220 分钟前
通信之道:解锁Linux进程间通信的无限可能(二)
linux·服务器
唐墨12321 分钟前
linux kernel之设备树
linux·运维·服务器
huanmieyaoseng100325 分钟前
centos 配置国内yum源2026新
linux·运维·centos
草莓熊Lotso1 小时前
Linux 线程同步与互斥(一):彻底搞懂线程互斥原理、互斥量底层实现与 RAII 封装
linux·运维·服务器·开发语言·数据库·c++
feng_you_ying_li1 小时前
linux之进程概念
linux
j_xxx404_1 小时前
深入理解Linux底层存储:从物理磁盘架构到文件系统(inode/Block)原理
linux·运维·服务器·后端
嵌入式×边缘AI:打怪升级日志1 小时前
深度剖析Linux按键驱动四种访问方式:从查询到异步通知
linux·运维·服务器
凉、介1 小时前
从设备树到驱动源码:揭秘嵌入式 Linux 中 MMC 子系统的统一与差异
linux·驱动开发·笔记·学习·嵌入式·sd·emmc
Full Stack Developme1 小时前
Linux 软连接与硬连接比较
linux·运维·服务器