当前位置:网站首页>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 .
边栏推荐
- Rosbag file recorded by LIDAR point cloud data is converted into CSV file
- Array - 704. Binary search
- ES6箭头函数的使用
- 狂神redis笔记10
- 一,数字逻辑的化简
- AutoCAD advanced operation
- FL Studio 20.9 update Chinese version host Daw digital audio workstation
- Leetcode: palindrome number
- 【音视频技术】视频质量评价 MSU VQMT & Netflix vmaf
- Tiktok launches multilingual subtitles and translation tools
猜你喜欢

The ultimate experiment of OSPF -- learn the example of OSPF century template

糖尿病遗传风险检测挑战赛Baseline

Extract any page number in PDF file with itextpdf

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

Remember an experience of being cheated by the Internet

Getting started database days3
![[leetcode ladder] the penultimate node in the 022 linked list](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[leetcode ladder] the penultimate node in the 022 linked list

EasyNVR平台如何关闭匿名登录?

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

Excel password related
随机推荐
FL Studio 20.9 update Chinese version host Daw digital audio workstation
[C language] address book (static version)
Matlab wavelet toolbox import signal error (doesn't contain one dimensional single)
dried food! Implicit sparse regularization effect in neural networks
VIM common shortcut keys
Basic operations of AutoCAD
1000个Okaleido Tiger首发上线Binance NFT,引发抢购热潮
Crazy God redis notes 10
Remember an experience of being cheated by the Internet
Crazy bull market, where to go in the second half? 2021-04-30
Lin Zhiying's injury is relatively stable
Programming in the novel [serial 16] the moon bends in the yuan universe
Analysis of mobile semantics and perfect forwarding
Utilisation des fonctions fléchées es6
Redis管道技术/分区
[nuxt 3] (IX) server routing
Wechat applet implements a global event bus by itself
Array - 59. Spiral matrix II
ospf终极实验——学会ospf世纪模板例题
None和nan、NaN、NAN