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

相关推荐
RisunJan5 分钟前
Linux命令-last(查看用户登录历史)
linux·服务器·网络
断水客22 分钟前
搭建ARM LINUX 内核 QEMU 仿真调试环境
linux·运维·arm开发·嵌入式
fantasy5_522 分钟前
深入理解 Linux 动静态库:制作、原理与加载机制
linux·运维·restful
龙仔7251 小时前
n2n supernode Linux完整部署笔记,包含离线部署,
linux·运维·笔记·n2n·supernode
c++逐梦人1 小时前
进程控制(2)进程程序替换
linux·操作系统·进程
鱼香rose__1 小时前
Linux基础概念知识
linux·网络
彭泽布衣2 小时前
gdb调试方法总结
linux·c语言·gdb·故障排查·段错误
KL's pig/猪头/爱心/猪头2 小时前
写一个rv1106的gpio输入驱动(带中断)
linux·驱动开发·rv1106
Calebbbbb2 小时前
Windows 向 Vmware Ubuntu 传大文件校验不一致问题完整排查记录
linux·windows·ubuntu
被遗忘的旋律.2 小时前
Linux驱动开发笔记(二十四)——(下)IIO + MPU6050驱动
linux·驱动开发·笔记