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

相关推荐
王琦031812 分钟前
第二次作业
linux·运维·服务器
Bert.Cai13 分钟前
Linux mkdir命令详解
linux·运维
超绝振刀怪18 分钟前
【Linux进程状态:僵尸进程、孤儿进程和调度基础】
linux·僵尸进程·孤儿进程·进程状态
三万棵雪松1 小时前
【Linux 物联网网关主控系统-Web部分(一)】
linux·前端·嵌入式linux
似水এ᭄往昔1 小时前
【Linxu】--进程优先级和进程切换
linux·运维·服务器
海参崴-2 小时前
Linux进程管理完全指南
linux·运维·服务器
kyle~2 小时前
Linux系统优化---PREEMPT_RT机器人开发方向
linux·运维·机器人
独隅2 小时前
在 Linux 上部署 TensorFlow 模型的全面指南
linux·运维·tensorflow
Strange_Head2 小时前
《Linux系统编程篇》Linux Socket 网络编程02 (Linux 进程间通信(IPC))——基础篇
linux·运维·网络
yiwenrong2 小时前
history 常见优化配置
linux