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

相关推荐
炘爚5 分钟前
Linux——MySQL
linux·mysql
艾莉丝努力练剑7 分钟前
【Linux网络】多路转接select
java·linux·运维·服务器·网络·tcp/ip
Cx330❀9 分钟前
【Linux网络】从零定制应用层协议:黏包问题、全双工缓冲区与 Jsoncpp 序列化深度解析
linux·运维·服务器·开发语言·网络·c++·人工智能
Benszen10 分钟前
云计算基础-5:Linux 重定向与管道
linux·运维·服务器
__Witheart__11 分钟前
RK 3588 Ubuntu SDK 编译 Linux Header(标头)
linux·ubuntu·rockchip
艾莉丝努力练剑19 分钟前
【Linux网络】五种IO模型与非阻塞IO
linux·运维·服务器·开发语言·网络·tcp/ip
lihao lihao23 分钟前
Linux线程同步与互斥
linux·数据结构·算法
能喵烧香10 小时前
深度解析:Linux 与 Windows 超级权限账户的本质差异
linux·windows
Moshow郑锴12 小时前
Ubuntu 26.04 中文输入法 : fcitx5+Rime中州韵引擎
linux·运维·ubuntu
qq_1631357513 小时前
Linux 【04-more命令超详细教程】
linux