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

相关推荐
the sun341 分钟前
从Ubuntu迁移到QEMU驱动开发
linux·驱动开发·ubuntu
犽戾武5 分钟前
机械臂 VR 遥操作调试日志记录
linux·服务器·网络
SPC的存折9 分钟前
1、Ansible之Ansible安装与入门
linux·数据库·ansible
枳实-叶24 分钟前
嵌入式 Linux 下 ALSA 音频采集与 PCM 播放流程详解
linux·音视频·pcm
Magic--33 分钟前
Linux静态库与共享库(动态库)详解
linux·运维·服务器
桌面运维家38 分钟前
TCP拥塞控制:丢包诊断与Linux网络性能优化
linux·网络·tcp/ip
残雪飞扬1 小时前
Ubuntu上安装 WinBoat(让linux上运行windows软件)
linux·windows·ubuntu
m0_683124791 小时前
无U盘装Ubuntu
linux·运维·ubuntu
默|笙1 小时前
【Linux】进程信号(2)_信号捕捉_中断
linux·运维·服务器
图灵机z1 小时前
【操作系统】四、进程管理
linux·服务器·网络·windows·macos·centos·risc-v