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

相关推荐
七仔啊几秒前
windows server 2022 安装 Linux Docker
linux·windows·docker
AIgorithmGEEK5 分钟前
Linux 进程控制完全指南:fork、wait、exec 三部曲
linux·运维·多进程·进程创建·进程等待·进程终止·exec家族
2301_777998349 分钟前
网络基础(一):协议与网络传输基本流程
linux·网络
小张同学a.24 分钟前
zabbix企业级监控平台4——分布式监控与grafana数据可视化
linux·运维·数据库·分布式·信息可视化·zabbix·grafana
Darkwanderor28 分钟前
线程概念和Linux线程
linux·c语言·c++
酷可达拉斯1 小时前
自动化运维-从零开始编写ansible剧本(二)
linux·运维·服务器·centos·自动化
Darkwanderor1 小时前
Linux线程控制
linux·c语言·c++
Brilliantwxx1 小时前
【Linux】 开发|Git 版本控制与 gdb/cgdb 调试
linux·笔记·git
allforgood2 小时前
管理 SELinux 安全性
linux·运维·网络
Darkwanderor2 小时前
多线程的互斥问题和互斥锁解决互斥问题
linux·c语言·c++