当前位置:网站首页>Detailed explanation of pseudo instructions in assembly language (with examples)
Detailed explanation of pseudo instructions in assembly language (with examples)
2022-07-23 23:11:00 【InfoQ】
(1)ORG——— Assembly start instruction
- Be careful :ORG The address after the command must be increased in the order it appears , And cannot overlap .Otherwise, the compiler may report an error . For example, in the above example 0100H Greater than 0080H.
(2)END—— Assembly end command
(3)EQU—— Assignment instruction
(4)DB—— Byte definition pseudo instruction
- Format :label :DB Data item ; Data items are separated by commas
- function :From that address , Define a string in the program memorybyteunit , And assign values with data items .
- This instruction is often placed at the end of the program , Used to open tables .
(5)DW—— Define word command
- Format :label : DW Data item
- function :From that address , Define a string in the program memoryWord unit, And assign values with data items .Save high byte first , Save low byte after, namely :Put the high byte in the low address , Put the low byte in the high address.
(6)DS—— Define storage space instructions
- Format :DS expression
- function :Start with the instruction address , Retain DS The storage unit specified by the value of the expression , For later use .
(7)BIT—— Bit address symbol command
- Format :Character name BIT Bit address
- function :Assign the bit address to the specified character name .
边栏推荐
- 1、 Simplification of digital logic
- Tap series article 5 | cloud native build service
- The Minesweeper game
- dried food! Implicit sparse regularization effect in neural networks
- Redis pipeline technology / partition
- Linked list - 203. remove linked list elements
- Getting started database days3
- Three network modes of VMware virtual machine
- J9 number theory: how can we overcome the fomo phenomenon in the digital industry?
- The role of physical layer, link layer, network layer, transport layer and application layer of tcp/ip model of internet protocol stack
猜你喜欢

Redis pipeline technology / partition

ES6 other syntax and extended syntax summary
思源笔记的字体比其他的编辑器(Atom,VSC,sublime)内字体渲染更细更淡

TAP 系列文章5 | 云原生构建服务
![[laser principle and Application-8]: EMC design of laser circuit](/img/98/8b7a4fc3f9ef9b7e16c63a8c225b02.png)
[laser principle and Application-8]: EMC design of laser circuit

系列文章|云原生时代下微服务架构进阶之路 - 微服务拆分的最佳实践

Array - 11. Containers with the most water

(CVPR-2022)BiCnet

使用itextpdf提取PDF文件中的任意页码

Analysis of mobile semantics and perfect forwarding
随机推荐
Three network modes of VMware virtual machine
Lu Xia action | Source Kai Digital: Existing Mode or open source innovation?
Programming in the novel [serial 16] the moon bends in the yuan universe
Lixia action 2022 Yuanqi digital round table forum will be launched soon
Upgrade unity visual studio 2019 to 2022 (throw away pirated red slag)
糖尿病遗传风险检测挑战赛进阶
TAP 系列文章9 | 应用开发加速器
Profit logic of DFI project 2021-04-26
Array - 977. Square of ordered array
Video Number strengthens the fight against vulgar content: the content that violates public order and good customs must be eliminated
[unity3d daily bug] unity3d solves "the type or namespace name" XXX "cannot be found (are you missing the using directive or assembly reference?)" Etc
Debian | Can’t locate Debian/Debhelper/Sequence/germinate. pm in @INC
openEuler 资源利用率提升之道 01:概论
TAP 系列文章4 | 基于 Backstage 的 TAP 开发者门户
[problem handling] merge made by the 'ort' strategy
Interface test
[nuxt 3] (IX) server routing
TAP 系列文章5 | 云原生构建服务
The canfd/can interface offline burning operation instructions of h7-tool have been updated (2022-07-12)
Inspiration from Buffett's shareholders' meeting 2021-05-06