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

相关推荐
云栖梦泽8 小时前
Linux内核与驱动:9.驱动中的中断机制
linux
格林威8 小时前
Windows 实时性补丁(RTX / WSL2)
linux·运维·人工智能·windows·数码相机·计算机视觉·工业相机
xuxie998 小时前
N22 key驱动
linux·运维·服务器
c++逐梦人8 小时前
Linux多线程
linux·服务器
开心码农1号8 小时前
RabbitMQ 生产运维命令大全
linux·开发语言·ruby
IMPYLH8 小时前
Linux 的 nl 命令
linux·运维·服务器·bash
咖喱o8 小时前
路由策略
linux·服务器·网络
南境十里·墨染春水8 小时前
linux学习进展 主函数的参数
linux·运维·学习
淮北4948 小时前
obsidian管理自己的计划
linux·学习·kanban·obsidian
YYYing.8 小时前
【Linux/C++网络篇(一) 】网络编程入门:一文搞懂 TCP/UDP 编程模型与 Socket 网络编程
linux·网络·c++·tcp/ip·ubuntu·udp