当前位置:网站首页>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
边栏推荐
- koa中间件
- 字节跳动海外技术团队再夺冠:高清视频编码已获17项第一
- Activit零零碎碎要人命的坑
- The "advertising maniacs" in this group of programmers turned Tiktok advertisements into ar games
- Solr new core
- 我走過最迷的路,是字節跳動程序員的腦回路
- ByteDance 2022 school recruitment R & D advance approval publicity meeting, students' top 10 issues
- 在 vi 编辑器中的命令模式下,删除当前光标处的字符使用 __ 命 令。
- Conception du système de thermomètre numérique DS18B20
- @RequestMapping、@GetMapping
猜你喜欢
Solr new core
J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
~74 JD top navigation bar exercise
Activiti directory (V) reject, restart and cancel process
Shell_ 06_ Judgment and circulation
~73 other text styles
Solr standalone installation
MySQL数字函数
Idea resolving jar package conflicts
When it comes to Google i/o, this is how ByteDance is applied to flutter
随机推荐
In the command mode in the VI editor, delete the character usage at the current cursor__ Command.
在 vi 编辑器中的命令模式下,删除当前光标处的字符使用 __ 命 令。
LeetCode 1640. Can I connect to form an array
After the subscript is used to assign a value to the string type, the cout output variable is empty.
Resume of a microservice architecture teacher with 10 years of work experience
Idea resolving jar package conflicts
Activiti directory (V) reject, restart and cancel process
How to configure hosts when setting up Eureka
When it comes to Google i/o, this is how ByteDance is applied to flutter
Fdog series (4): use the QT framework to imitate QQ to realize the login interface, interface chapter.
字节跳动多篇论文入选 CVPR 2021,精选干货都在这里了
Erlang installation
~82 style of table
字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
Notes on how the network is connected
Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
面试集锦库
@RestController、@Controller
~77 linear gradient
[graduation project] QT from introduction to practice: realize imitation of QQ communication, which is also the last blog post in school.