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

相关推荐
_dindong6 小时前
Linux网络编程:结合内核数据结构详谈epoll的工作原理
linux·服务器·网络
了一梨6 小时前
在Ubuntu中配置适配泰山派的交叉编译环境
linux·c语言·ubuntu
buyutang_6 小时前
Linux网络编程:Socket套接字编程概念及常用API接口介绍
linux·服务器·网络·tcp/ip
杨云龙UP6 小时前
从0搭建Oracle ODA NFS异地备份:从YUM源到RMAN定时任务的全流程
linux·运维·数据库·oracle
DN金猿6 小时前
恢复 Linux 上误删除的文件
linux·运维·服务器
远瞻。7 小时前
【环境配置】Ubuntu系统安装cuda
linux·运维·ubuntu
kyle~7 小时前
Linux---<unistd.h>类Unix系统编程核心头文件
linux·运维·unix
python百炼成钢8 小时前
55.Linux ADC框架(IIO续)
linux·运维·服务器·驱动开发
祎直向前8 小时前
重装Ubuntu之后重连VSCode
linux·vscode·ubuntu
buyutang_8 小时前
Linux 网络编程:深度理解网络字节序与主机字节序、大端字节序与小端字节序
linux·运维·网络