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

相关推荐
晚枫歌F15 小时前
Dpdk介绍
linux·服务器
工程师老罗18 小时前
龙芯2k0300 PMON取消Linux自启动
linux·运维·服务器
千百元18 小时前
centos如何删除恶心定时任务
linux·运维·centos
oMcLin20 小时前
如何在Manjaro Linux上配置并优化Caddy Web服务器,确保高并发流量下的稳定性与安全性?
linux·服务器·前端
济61720 小时前
linux(第七期)--gcc编译软件-- Ubuntu20.04
linux·运维·服务器
corpse201021 小时前
Linux监控软件Monitorix 安装部署
linux·安全
wdfk_prog21 小时前
[Linux]学习笔记系列 -- [fs]super
linux·笔记·学习
姚青&21 小时前
四.文件处理命令-文本编辑
linux
oMcLin21 小时前
如何在 Red Hat Linux 8 上实现 Kubernetes 自定义资源管理器(CRD)扩展,支持微服务架构
linux·架构·kubernetes
济61721 小时前
linux(第十一期)--Makefile 语法简述-- Ubuntu20.04
linux