当前位置:网站首页>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 startEach 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 endpCode 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
边栏推荐
- Redis standalone startup
- Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
- 姚班智班齐上阵,竞赛高手聚一堂,这是什么神仙编程大赛?
- Shell_ 02_ Text three swordsman
- Resume of a microservice architecture teacher with 10 years of work experience
- yum install xxx报错
- Mongodb learning notes
- 字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
- DOS 功能调用
- koa中间件
猜你喜欢

J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets

The "advertising maniacs" in this group of programmers turned Tiktok advertisements into ar games

7-4 harmonic average

Shell_ 07_ Functions and regular expressions

Fdog series (V): use QT to imitate QQ to realize login interface to main interface, function chapter.

Some instructions on whether to call destructor when QT window closes and application stops

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

Redis standalone startup

7-10 punch in strategy

汇编语言寻址方式
随机推荐
~87 animation
Alibaba cloud server docker installation mysql5.5
Full record of ByteDance technology newcomer training: a guide to the new growth of school recruitment
~83 form introduction
Eureka single machine construction
MySQL optimization notes
The most lost road I have ever walked through is the brain circuit of ByteDance programmers
~69 other ways to use icon fonts
Record the error reason: terminate called after throwing an instance
唯有学C不负众望 TOP2 p1变量
Activiti目录(四)查询代办/已办、审核
Activiti directory (IV) inquiry agency / done, approved
Saw local status change event StatusChangeEvent [timestamp=1644048792587, current=DOWN, previous=UP]
~72 horizontal and vertical alignment of text
7-8 likes (need to continue to improve)
After the subscript is used to assign a value to the string type, the cout output variable is empty.
Yum install XXX reports an error
Erlang installation
~68 Icon Font introduction
Train 100 pictures for 1 hour, and the style of the photos changes at will. There is a demo at the end of the article | siggraph 2021