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

相关推荐
idolao1 分钟前
PE启动盘制作与启动教程 Windows版:NTFS格式化+一键制作+双模式引导指南
linux·运维·服务器
花无缺就是我11 分钟前
内网穿透哪个好,之神卓互联Linux版Arm安装教程2026最新
linux·运维·arm开发
HalvmånEver18 分钟前
MySQL的数据类型(二)
linux·学习·mysql
xuxie9919 分钟前
N27 数据库UI
linux·c#
Run_Teenage20 分钟前
Linux:理解中断
linux·运维·服务器
北山有鸟23 分钟前
解析 Linux 内核驱动中的“换行美学”
linux·运维·服务器
unDl IONA31 分钟前
Linux安装RabbitMQ
linux·运维·rabbitmq
米高梅狮子32 分钟前
Ubuntu和Containerd
linux·运维·ubuntu
片酷36 分钟前
【IsaacLab报错】C++ 标准库版本过低
linux·运维·服务器
小宋00139 分钟前
Ubuntu 22.04 + ROS 2 Humble 下 SLAM 建图 + 导航(Nav2 + slam_toolbox) 的完整教程
linux·ubuntu·机器人