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

相关推荐
进阶的猪18 分钟前
使用printk对SPI子系统全过程的追踪
linux·服务器
2301_8035545228 分钟前
Linux里面的文件描述符和windows里面的句柄
linux·运维·服务器
星马梦缘40 分钟前
如何切换window-ubuntu双系统【方案一】
linux·ubuntu·双系统
idolao44 分钟前
CentOS 7 安装 jakarta-tomcat-connectors-jk2-src-current.tar.gz 详细步骤(解压、编译、配置)
linux·centos·tomcat
时空自由民.1 小时前
蓝牙协议栈介绍
linux·网络·单片机
zh路西法2 小时前
【RDKX5多摄像头模型推理】USB带宽限制与ROS2话题零拷贝转发
linux·c++·python·深度学习
计算机安禾2 小时前
【Linux从入门到精通】第47篇:SystemTap与eBPF——Linux内核观测的显微镜
java·linux·前端
mifengxing2 小时前
操作系统(四)
linux·服务器·网络·操作系统
钟智强3 小时前
潜伏 9 年的 Linux 核弹级漏洞:CopyFail CVE-2026-31431
linux·数据库·web安全
HUGu RGIN3 小时前
Linux部署Redis集群
linux·运维·redis