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

相关推荐
吕司几秒前
Linux线程的概念
linux·运维·服务器
123过去2 小时前
hashid使用教程
linux·网络·测试工具·安全
C+++Python2 小时前
Linux/C++多进程
linux·运维·c++
Stack Overflow?Tan903 小时前
linux ubuntu22.04安装ROS2humble完整版的流程
linux·docker·ros2
zly35003 小时前
centos7 sshd无法启动
linux·运维·服务器
IMPYLH4 小时前
Linux 的 hostid 命令
linux·运维·服务器·bash
编程大师哥4 小时前
Linux 命名管道(FIFO)通信 超清晰讲解
linux·运维·服务器
Smile_2542204184 小时前
linux服务器清理磁盘
linux·运维·服务器
KivenMitnick4 小时前
Claude Code--Ubuntu Linux超详细配置教程(附每步的可能报错及解决方法)
linux·运维·ubuntu
panamera125 小时前
linux下SPI、IIC、UART、CAN的编码
linux·运维·服务器