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

相关推荐
2601_962885723 小时前
如何用 Python 统计 A 股连续涨停(几连板)?
java·linux·python
H.莓飛3 小时前
【数据结构】二叉树
linux·数据结构·算法
荣合技术服务4 小时前
VMware ESXi 虚拟化平台服务器虚拟机数据恢复服务
linux·运维·服务器
杭州领祺科技4 小时前
保信子站深度解析:继电保护信息采集与故障诊断的关键枢纽
linux·服务器·网络·新能源·储能·虚拟电厂
xh didida4 小时前
Linux -- 进程概念
linux·服务器·开发语言·c++
爱吃香菜的初学者4 小时前
十三.Linux——信号量
linux·运维·服务器·开发语言
小小龙学IT4 小时前
ROS2 安装完全指南(Ubuntu 版):从零开始到跑通第一个节点本文
linux·运维·ubuntu
Ruiery4 小时前
Linux 6.6内核 CPU 深度解析(十二):SMT 进阶 — core scheduling 与共享算力的负载平衡
linux·运维·服务器
影视飓风TIM4 小时前
Linux 进程虚拟地址空间详解
linux·算法
硅基手札4 小时前
【Linux内核专栏 12】VFS 与文件系统
linux