汇编单条件转移指令
1.JC/JNC
2.JZ/JNZ
3.JS/JNS
4.JO/JNO
5.JP/JNP
6.JCXZ
data segment x db 3,4,6,0,5,8,9 data ends code segment assume cs:code,ds:data start: mov ax,data mov ds,ax mov bx,0 s: mov cx,[bx] jcxz ok inc bx jmp s ok: mov dx,bx ; add dl,30h mov ah,2 int 21h mov ah,4ch int 21h code ends end start
-----------------------------------------------
新手学习,若有错误请留言,谢谢!