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

相关推荐
袁袁袁袁满30 分钟前
Linux云服务器如何判断系统是否发生过异常断电?
linux·运维·服务器
学不完的40 分钟前
haproxy
linux·运维·https·负载均衡·haproxy
LCG元1 小时前
STM32MP1边缘网关:Linux系统下Modbus转MQTT协议转换实战
linux·stm32·嵌入式硬件
cyber_两只龙宝2 小时前
Nginx--企业高性能web服务器高级配置详解
linux·运维·nginx·云原生
i建模4 小时前
Omarchy设置防火墙
linux·运维
S-码农4 小时前
Linux ——条件变量
linux·开发语言
爱写代码的liding4 小时前
linux安装软件过程中报找不到某些动态链接.so文件
linux
青衫码上行4 小时前
【项目部署】Spring Boot项目部署的四种方式
java·linux·服务器·spring boot·后端·docker·腾讯云
礼拜天没时间.6 小时前
JumpServer堡垒机部署与实战:从0到1搭建统一运维入口
linux·运维·架构·堡垒机·jumpserver·sre
林姜泽樾6 小时前
linux入门第四章,cd指令和相对、绝对路径
linux·运维·服务器