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

相关推荐
xu_yule32 分钟前
Linux_12(进程信号)内核态和用户态+处理信号+不可重入函数+volatile
linux·运维·服务器
虾..39 分钟前
Linux 环境变量&&进程优先级
linux·运维·服务器
i***t9191 小时前
Linux下MySQL的简单使用
linux·mysql·adb
偶像你挑的噻1 小时前
11-Linux驱动开发-I2C子系统–mpu6050简单数据透传驱动
linux·驱动开发·stm32·嵌入式硬件
稚辉君.MCA_P8_Java2 小时前
DeepSeek 插入排序
linux·后端·算法·架构·排序算法
郝学胜-神的一滴4 小时前
Linux命名管道:创建与原理详解
linux·运维·服务器·开发语言·c++·程序人生·个人开发
宾有为4 小时前
【Linux】Linux 常用指令
linux·服务器·ssh
wdfk_prog4 小时前
[Linux]学习笔记系列 -- [block]bio
linux·笔记·学习
ajassi20004 小时前
开源 Linux 服务器与中间件(十三)FRP服务器、客户端安装和测试
linux·服务器·开源
XH-hui5 小时前
【打靶日记】群内靶机vm1
linux·网络安全