我想输入
11,00,01,10 in ebx and eax register.
Every time I input 01 or 10 I need to jump at l1.
And if I input 11 or 00 I want to quit from the procedure.
我该怎么做?我试过了,但只有前两个cmp正在休息工作。
cmp ebx,0
cmp eax,0
je l1
cmp ebx,1
cmp eax,0
jmp quit
cmp ebx,1
cmp eax,1
jmp quit2
l1: mov edx,offset num3
call writestring
call crlf
mov edx,offset num2
call writestring
call calf
答案 0 :(得分:1)