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

相关推荐
KingRumn22 分钟前
Linux进程间通信之D-Bus
linux·算法
fufu031124 分钟前
Linux环境下的C语言编程(四十九)
linux·c语言·算法
淮北也生橘121 小时前
Linux驱动开发:移植一个MIPI摄像头驱动并将其点亮(基于Sstar 2355平台)
linux·运维·驱动开发·嵌入式linux
遇见火星1 小时前
Linux运维:RPM包配置管理指南
linux·运维·服务器·rpm
HABuo1 小时前
【Linux进程(一)】进程深入剖析-->进程概念&PCB的底层理解
linux·运维·服务器·c语言·c++·后端·进程
余子桃1 小时前
ubutun日志文件自动流转
linux·日志
乔碧萝成都分萝1 小时前
十八、使用class分类管理设备
linux·驱动开发·嵌入式
@noNo2 小时前
VMware Workstation 虚拟机 Ubuntu 24.04 主机与虚拟机之间无法复制粘贴
linux·运维·ubuntu
wdfk_prog2 小时前
[Linux]学习笔记系列 -- [fs]initramfs
linux·笔记·学习
Violet_YSWY2 小时前
CentOS 的 DVD 镜像 和 Minimal 镜像 的区别
linux·运维·centos