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

相关推荐
Robot侠7 分钟前
ROS1从入门到精通 1 :ROS1简介与环境搭建(Ubuntu 20.04 + Noetic完整指南)
linux·ubuntu·ros·机器人操作系统
纸带29 分钟前
如何理解USB 配置描述符wTotalLength位运算深度
linux·网络·windows
落羽的落羽35 分钟前
【C++】深入浅出“图”——图的遍历与最小生成树算法
linux·服务器·c++·人工智能·算法·机器学习·深度优先
极地星光39 分钟前
VMware+Ubuntu+LVM 虚拟机存储扩容全流程(解决分区/空间不识别问题)
linux·运维·ubuntu
HalvmånEver1 小时前
Linux:库制作与原理(二)
linux·运维·服务器
旖旎夜光1 小时前
Linux知识(1)(下)
linux·学习
HalvmånEver1 小时前
Linux:库制作与原理(一)
linux·运维·服务器
秋深枫叶红1 小时前
嵌入式第三十九篇——linux系统编程——信号通信、共享内存
linux·运维·服务器·学习
乌萨奇也要立志学C++1 小时前
【Linux】线程互斥与互斥量全解析:原理、实践与封装
linux·服务器
hweiyu001 小时前
Linux命令:gzip
linux