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

相关推荐
小娄~~4 小时前
进程间通信
linux·运维·服务器
实心儿儿5 小时前
Linux —— 库的制作和原理(2)
linux·运维·服务器
运维全栈笔记5 小时前
Docker一键部署Immich:自建私有云相册,照片视频备份无忧
linux·服务器·网络·docker·容器
进阶的猪5 小时前
主机、虚拟机、开发板网络通信排错日志
linux·网络
小小的木头人5 小时前
Ubuntu 26.04 换阿里云镜像源
linux·ubuntu·阿里云
qq_254674415 小时前
Ubuntu 20.04取消自动休眠的三种实现方案
linux·chrome·ubuntu
念恒123066 小时前
STM32---新建工程
linux·stm32·嵌入式硬件
悲伤小伞6 小时前
Linux_传输层协议TCP详解
linux·网络·c++·网络协议·tcp/ip
笨笨饿6 小时前
#72_聊聊I2C以及他们的变体
linux·c语言·网络·stm32·单片机·算法·个人开发
ulias2126 小时前
leetcode热题 - 6
linux·算法·leetcode