Question: Which choice does contain correct implementations of the following pseudocode? if ( op 1 = = op 2 ) { X = 1 ; Y

Which choice does contain correct implementations of the following pseudocode?
if( op1== op2)
{
X =1;
Y =2;
}
a.
cmp op1, op2
jne L1
mov X,1
mov Y,2
L1:
b.
mov EAX,op1
cmp EAX,op2
L1:
mov X,1
mov Y,2
c.
mov EAX,op1
cmp EAX,op2
je L1
jmp L2
L1: mov X,1
mov Y,2
L2:
d.
mov EAX,op1
cmp EAX,op2
je L1
mov X,1
mov Y,2
L1:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!