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

相关推荐
小杨同学491 分钟前
Linux 从入门到实战:常用指令与 C 语言开发全指南
linux
福尔摩斯张20 分钟前
Linux的pthread_self函数详解:多线程编程中的身份标识器(超详细)
linux·运维·服务器·网络·网络协议·tcp/ip·php
ArrebolJiuZhou34 分钟前
02arm指令集(一)——LDR,MOV,STR的使用
linux·网络·单片机
一只旭宝37 分钟前
Linux专题八:生产者消费者,读写者模型以及网络编程
linux·网络
Web极客码1 小时前
如何在 Linux 中终止一个进程?
linux·运维·服务器
大聪明-PLUS1 小时前
Linux 中的 GPIO 驱动程序
linux·嵌入式·arm·smarc
Clarence Liu1 小时前
虚拟机与容器的差异与取舍
linux·后端·容器
A13247053122 小时前
防火墙配置入门:保护你的服务器
linux·运维·服务器·网络
摇滚侠2 小时前
CentOS 7 Linux 离线安装 Docker:离线安装包、依赖文件、安装步骤
linux·docker·centos
小鸡脚来咯2 小时前
怎么配置主机名映射?
linux·windows·macos