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

相关推荐
wangjialelele4 分钟前
Linux下的IO操作以及ext系列文件系统
linux·运维·服务器·c语言·c++·个人开发
HypoxiaDream21 分钟前
LINUX-Ext系列⽂件系统
linux·运维·服务器
小毛驴85022 分钟前
Linux curl 命令用法
linux·运维·chrome
李斯啦果29 分钟前
【Linux】Linux目录配置
linux·运维·服务器
AI+程序员在路上30 分钟前
linux下线程中pthread_detach与pthread_join区别
linux·运维·服务器
代码游侠30 分钟前
C语言核心概念复习——C语言基础阶段
linux·开发语言·c++·学习
logocode_li32 分钟前
说透 Linux Shell:命令与语法的底层执行逻辑
linux·运维·ssh
CHENKONG_CK38 分钟前
晨控CK-LR08-E00与汇川H5U系列PLC配置MODBUSTCP通讯连接手册
linux·服务器·网络
LongQ30ZZ1 小时前
Linux-基础IO
linux
来鸟 鸣间1 小时前
Linux下3个so库之间的关系
linux·运维