当前位置:网站首页>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 .
边栏推荐
- Redis管道技术/分区
- Lin Zhiying's injury is relatively stable
- Tap series article 5 | cloud native build service
- Investment suggestions for overseas senior players (2) 2021-05-03
- [nuxt 3] (IX) server routing
- The role of physical layer, link layer, network layer, transport layer and application layer of tcp/ip model of internet protocol stack
- Use boundschecker "suggestions collection"
- 一,数字逻辑的化简
- Getting started database Days1
- Introduction and project development of MVVM and mvvmlight (I)
猜你喜欢

Redis pipeline technology / partition

ospf终极实验——学会ospf世纪模板例题

Microsoft SQL Server database language and function usage (XIII)

Diabetes genetic risk testing challenge advanced

砺夏行动 2022|源启数字化圆桌论坛即将上线

Inspiration from Buffett's shareholders' meeting 2021-05-06

The canfd/can interface offline burning operation instructions of h7-tool have been updated (2022-07-12)

Getting started database days3

Profit logic of DFI project 2021-04-26

Remember an experience of being cheated by the Internet
随机推荐
Classification model - logistic regression, Fisher linear discriminant (SPSS)
Use boundschecker "suggestions collection"
J9 number theory: how can we overcome the fomo phenomenon in the digital industry?
Niuke C basic exercises
Array - 59. Spiral matrix II
Lin Zhiying's injury is relatively stable
Tiktok launches multilingual subtitles and translation tools
Investment suggestions for overseas senior players (2) 2021-05-03
使用itextpdf提取PDF文件中的任意页码
2、 Digital logic functional unit
Contemporary inspirational "women"
[unity3d daily bug] unity3d solves "the type or namespace name" XXX "cannot be found (are you missing the using directive or assembly reference?)" Etc
The Minesweeper game
Light up the LED light of little bear patting learning
Diabetes genetic risk testing challenge advanced
ES6箭头函数的使用
Three network modes of VMware virtual machine
狂神redis笔记10
None和nan、NaN、NAN
Upgrade unity visual studio 2019 to 2022 (throw away pirated red slag)