当前位置:网站首页>arm汇编DCB、DCW、DCD、DCQ解析
arm汇编DCB、DCW、DCD、DCQ解析
2022-06-21 22:26:00 【华为云】
背景
在ida中进行分析so文件,就是elf文件,它所对应的arm汇编,在汇编中会时常碰到一些下面的汇编指令。DCB是arm汇编中的伪指令,下面就针对这个指令相关做下小记录。


伪指令及DC系列指令
ARM 伪指令它不是ARM 指令集中的指令,只是为了方便编译器编程而定义的指
令,使用时可以像其他ARM 指令一样使用,但在编译时这些指令将被等效的ARM
指令代替。
DCB它关联的伪指令有DCB、DCW、DCD、DCQ指令。它们都是用于分配一段内存单元,并对其进行做初始化工作。不过它们分配的内存空间大小不同。
下面就针对这四个伪指令做下区分
DCB表示:它分配一段字节的内存单元,它每个操作数都占有一个字节,操作数范围为-128~255的数值或字符串。
DCW表示:它分配一段半字的内存单元,它的每个操作数都占有两个字节,操作数是16位二进制数,取值范围为-32768~65535。
DCD表示:它分配一段字的内存单元,它的每个操作数都占有4个字节,操作数可以是32位的数字表达式,也可以是程序中的标号。
DCQ表示:它分配一段双字的内存单元,它的每个操作数都占有8个字节。
边栏推荐
- Cvpr2022 𞓜 loss problem in weakly supervised multi label classification
- Software project lawyer due diligence white paper - full text 19 pages, please contact the author
- buuctf misc zip
- 无法定位程序输入点于动态链接库怎么办
- 数据库每日一题---第19天:排名靠前的旅行者
- Isn't the so-called 0 copy just to let the CPU rest? Deep understanding of MMAP
- 标志位生成
- pytorch 界面编程相关
- kubernetes code-generator使用
- ModuleNotFoundError: No module named ‘torchvision.datasets‘; ‘torchvision‘ is not a package
猜你喜欢

Win11 how to change the desktop file path to disk D

6月编程语言排行榜已出,这门语言要“封神”

组件传值:父组件与子组件传值用props

Redis master-slave replication (9)
![Jmter test command [note]](/img/96/4290b92beb0755c6724a3b8d7dc635.png)
Jmter test command [note]

En juin, le classement des langues de programmation a été publié et la langue doit être « féodale ».

Unity-网络开发(一)

今日睡眠质量记录81分
![[RoarCTF2019]黄金6年](/img/c4/07caf5dc8f27f77b724753b5f87a0a.png)
[RoarCTF2019]黄金6年

Win11 hotspot connection successful but no network? Solution of win11 mobile hotspot and network conflict
随机推荐
Katalon框架测试web(八)等待
请问东方财富期货正规吗?这家平台安全靠谱么?
buuctf misc 弱口令
The ranking list of programming languages has been published in June, and this language should be "gods"
Layout roadmap, the perfect combination of spatial layout and data visualization
Get the value value according to the key in the data
今日睡眠质量记录81分
使用CRD扩展Kubernetes API
class path resource [classpath*:mapper/*.xml] cannot be opened because it does not exist
CPDA | what basic skills do data analysts need?
目标检测、视觉弱监督学习、大脑多模态成像技术等CV综述来了!图像图形学发展年度报告综述专刊!
Go语言学习教程(十二)
Component value transfer: props are used for parent component and child component value transfer
Nuxt SSR packaging and deployment
MNIST image classification and comparison based on K-nearest neighbor
Creation of mono
[技术杂谈][转载]ffmpeg压缩视频几个参数解析
Win11 how to change the desktop file path to disk D
Install the domestic image of scoop in Windows
redis主从复制(九)