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

相关推荐
知星小度S2 小时前
系统核心解析:深入操作系统内部机制——进程管理与控制指南(一)【进程/PCB】
linux·运维·服务器·进程
Empty_7777 小时前
SELinux安全上下文
linux·服务器·安全
bug攻城狮8 小时前
解决Ubuntu中apt-get -y安装时弹出交互提示的问题
linux·运维·ubuntu
xiachong278 小时前
ubuntu18.04安装PCL1.14
linux·ubuntu
夜阑珊夭夭8 小时前
linux自定义网卡名字
linux·运维
czhc11400756639 小时前
Linux912 shell:$# $1 $?;RHEL 8 AppStream BaseOS
linux
佛天华9 小时前
centos 时间校准
linux·运维·centos
小柯J桑_10 小时前
Linux:线程封装
linux·运维·c++
先锋队长10 小时前
linux系统搭建nacos集群,并通过nginx实现负载均衡
linux·nginx·负载均衡
zwhSunday10 小时前
Linux驱动开发(1)概念、环境与代码框架
linux·运维·驱动开发