当前位置:网站首页>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 .
边栏推荐
- [audio and video technology] video quality evaluation MSU vqmt & Netflix vmaf
- ES6 other syntax and extended syntax summary
- Preparation for raspberry pie 3B serial port login
- 砺夏行动|源启数字化:既有模式,还是开源创新?
- VIM common shortcut keys
- Contemporary inspirational "women"
- DHCP: prevent rogue DHCP server in the network
- [leetcode ladder] linked list · 206 reverse linked list
- [unity3d daily bug] unity3d solves "the type or namespace name" XXX "cannot be found (are you missing the using directive or assembly reference?)" Etc
- 思源笔记的字体比其他的编辑器(Atom,VSC,sublime)内字体渲染更细更淡
猜你喜欢

Getting started database days3

Upgrade unity visual studio 2019 to 2022 (throw away pirated red slag)
![Is the height of binary tree [log2n]+1 equal to log2 (n+1)](/img/64/381376190218d5b2cdfd8b1197e8f6.png)
Is the height of binary tree [log2n]+1 equal to log2 (n+1)

Build your own target detection environment, model configuration, data configuration mmdetection

(CVPR-2022)BiCnet

Redis管道技术/分区

1000 okaleido tiger launched binance NFT, triggering a rush to buy

As a developer, you have to know the three performance testing tools JMeter, API and jmh user guide

Open source embedded sig in the openeuler community. Let's talk about its multi OS hybrid deployment framework

Diabetes genetic risk testing challenge advanced
随机推荐
Light up the LED light of little bear patting learning
Crazy God redis notes 10
[web vulnerability exploration] SQL injection vulnerability
Use boundschecker "suggestions collection"
Preparation for raspberry pie 3B serial port login
[C language] address book (static version)
Analysis of mobile semantics and perfect forwarding
Interface test
TAP 系列文章4 | 基于 Backstage 的 TAP 开发者门户
Is it safe to open a VIP stock account on your mobile phone?
1000个Okaleido Tiger首发上线Binance NFT,引发抢购热潮
Extract any page number in PDF file with itextpdf
H7-tool serial port offline burning operation instructions, support TTL serial port, RS232 and RS485 (2022-06-30)
作为开发,你不得不知道的三个性能测试工具|Jmeter、Apipost、JMH使用指南
Video Number strengthens the fight against vulgar content: the content that violates public order and good customs must be eliminated
openEuler 资源利用率提升之道 01:概论
Data sorting and usage before torchvision.datasets.imagefolder
Profit logic of DFI project 2021-04-26
TAP 系列文章5 | 云原生构建服务
Stm32f4 check the frequency of each part of the system