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

相关推荐
念恒123063 分钟前
Linux基础开发工具(编写一个简易进度条)
linux·c语言
Hello.Reader3 分钟前
算法是什么
linux·运维·算法
cui_ruicheng4 分钟前
Linux IO入门(二):重定向与缓冲区机制
linux·运维·服务器
有谁看见我的剑了?9 分钟前
Linux 内核参数优化
linux·网络·php
Harvy_没救了15 分钟前
Ansible 学习指南
linux·运维·服务器·ansible
有谁看见我的剑了?18 分钟前
Linux 内存巨页与透明巨页学习
java·linux·学习
blog.pytool.com23 分钟前
Ubuntu + VSCODE +aarch64 +qt +qmake +clangd
linux·qt·ubuntu
学Linux的语莫32 分钟前
Linux环境中anaconda 的安装与环境配置
linux·运维·服务器
回忆2012初秋39 分钟前
C# 射线算法:判断GPS点是否在车辆工作区域内
linux·算法·c#
弹简特1 小时前
【Linux命令饲养指南】Ubuntu 安装 MySQL【AI辅助实现】
linux·mysql·ubuntu