当前位置:网站首页>控制转移指令
控制转移指令
2022-07-06 09:29:00 【My71】
技巧
- Z or E 等于
- G or A 大于
- L or B 小于
- 所有跳转指令都以 J 开头
条件跳转指令
- 等于 JZ
- 不等于 JNZ
- 大于 JG or JNLZ
- 小于 JL or JNGZ
- 大于等于 JGZ or JNL
- 小于等于 JLZ or JNG
无条件跳转 JMP
……
start:
……
jmp start
循环指令 Loop
循环初值只能用 cx 寄存器。
语法
mov cx,100 start: …… loop start每次循环 cx 值自减,知道 cx 值为 0 时结束循环。
程序封装
定义子程序伪指令
- 开始:proc
- 结束:endp
调用子程序指令:call
属性
- 远属性指令:far
- 近属性指令:near
返回主程序指令:ret
语法:定义一个 name 程序
name proc near 程序体 ret name endp代码演示
code segment assume cs:code start: call delay mov ah,4ch int 21h delay proc near mov ax,10 ret delay endp code ends end start
边栏推荐
- Codeforces Global Round 19
- LeetCode 1558. Get the minimum number of function calls of the target array
- ~76 sprite map
- ByteDance open source Gan model compression framework, saving up to 97.8% of computing power - iccv 2021
- (multiple methods, need to continue to see) 7-11 go deep into the tiger's Den
- One hundred questions of image processing (1-10)
- Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
- 字节跳动春招攻略:学长学姐笔经面经,还有出题人「锦囊」
- Native JS realizes the functions of all selection and inverse selection -- Feng Hao's blog
- Record the error reason: terminate called after throwing an instance
猜你喜欢

Native JS realizes the functions of all selection and inverse selection -- Feng Hao's blog

TCP的三次握手和四次挥手

Chapter 5 yarn resource scheduler

Shell_ 03_ environment variable

LeetCode 1637. The widest vertical area between two points without any point

谢邀,人在工区,刚交代码,在下字节跳动实习生

~81 long table

亮相Google I/O,字节跳动是这样应用Flutter的

~Introduction to form 80

搭建flutter环境入坑集合
随机推荐
Simple records of business system migration from Oracle to opengauss database
README. txt
Solr word segmentation analysis
LeetCode 1641. Count the number of Lexicographic vowel strings
Tencent interview algorithm question
Two weeks' experience of intermediate software designer in the crash soft exam
姚班智班齐上阵,竞赛高手聚一堂,这是什么神仙编程大赛?
ByteDance open source Gan model compression framework, saving up to 97.8% of computing power - iccv 2021
7-7 ring the stupid bell
Shell_ 06_ Judgment and circulation
Error occurred during initialization of VM Could not reserve enough space for object heap
字节跳动多篇论文入选 CVPR 2021,精选干货都在这里了
LeetCode 1447. Simplest fraction
redux使用说明
Story of [Kun Jintong]: talk about Chinese character coding and common character sets
One hundred questions of image processing (11-20)
Educational Codeforces Round 122 (Rated for Div. 2)
这116名学生,用3天时间复刻了字节跳动内部真实技术项目
Record the error reason: terminate called after throwing an instance
Li Kou leetcode 280 weekly match