当前位置:网站首页>Control transfer instruction
Control transfer instruction
2022-07-06 17:02:00 【My71】
skill
- Z or E be equal to
- G or A Greater than
- L or B Less than
- All jump instructions are in J start
Conditional jump instructions
- be equal to JZ
- It's not equal to JNZ
- Greater than JG or JNLZ
- Less than JL or JNGZ
- Greater than or equal to JGZ or JNL
- Less than or equal to JLZ or JNG
Jump unconditionally JMP
……
start:
……
jmp start
Cyclic instruction Loop
The initial value of the cycle can only be used cx register .
grammar
mov cx,100 start: …… loop start
Each cycle cx Value auto decrement , know cx The value is 0 End cycle at .
Program encapsulation
Define subroutine pseudo instructions
- Start :proc
- end :endp
Call Subroutine instructions :call
attribute
- Far attribute instruction :far
- Near attribute instruction :near
Return to the main program instruction :ret
grammar : Define a name Program
name proc near Procedural body ret name endp
Code demonstration
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
边栏推荐
- 字节跳动技术新人培训全记录:校招萌新成长指南
- 控制转移指令
- High performance mysql (Third Edition) notes
- Data config problem: the reference to entity 'useunicode' must end with ';' delimiter.
- Restful style interface design
- ByteDance technical Interviewer: what kind of candidate do I want to pick most
- DS18B20数字温度计系统设计
- Redis standalone startup
- ~84 form supplement
- The difference between URI and URL
猜你喜欢
字节跳动技术新人培训全记录:校招萌新成长指南
Shell_ 05_ operator
ByteDance 2022 school recruitment R & D advance approval publicity meeting, students' top 10 issues
Eureka single machine construction
我走过最迷的路,是字节跳动程序员的脑回路
服务器端渲染(SSR)和客户端渲染(CSR)的区别
字节跳动技术面试官现身说法:我最想pick什么样的候选人
Yao BanZhi and his team came together, and the competition experts gathered together. What fairy programming competition is this?
J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
I'm "fixing movies" in ByteDance
随机推荐
Activiti directory (I) highlights
Eureka high availability
I'm "fixing movies" in ByteDance
7-6 sum of combinatorial numbers
[unsolved]7-14 calculation diagram
Ce n'est qu'en apprenant que c est à la hauteur des attentes Top5 s1e8 | s1e9: caractères et chaînes & opérateurs arithmétiques
IDEA断点调试技巧,多张动图包教包会。
我走過最迷的路,是字節跳動程序員的腦回路
~84 form supplement
汇编语言寻址方式
7-12 inventory code base
8086 memory
Activiti目录(四)查询代办/已办、审核
Mongodb learning notes
yum install xxx报错
The most lost road I have ever walked through is the brain circuit of ByteDance programmers
Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
算数运算指令
Fdog series (4): use the QT framework to imitate QQ to realize the login interface, interface chapter.
Log4j2 major vulnerabilities and Solutions