2021/1/10
第19页
Loop Program Structure
• WHILE-DO Program Sequence
2021/1/10
第20页
Loop Program Structure
• WHILE-DO Program Sequence
2021/1/10
第21页
Example
• The Block-Move Program
– JZ, JNZ, JG, JL, JGE, and JLE needed because the numeric order of signed and unsigned numbers differ.
2021/1/10
第11页
JMP CX JMP EDX JMP NEAR PTR [BX] JMP FAR PTR [ECX]
2021/1/10
第14页
Branch Program Structure
• Using JMP to realize IF-THEN
– With a flag condition test
2021/1/10
2021/1/10
第7页
Far JMP
2021/1/10
第8页
Conditional Jumps
2021/1/10
第9页
Conditional Jumps
• There are many conditional jump instructions. • Conditional jump instructions, for the most part, test the
• The procedure called by the interrupt is called a handler or an interrupt service procedure (ISP).