Question: Question 10 (10 points) Saved 10) Choose the correct assembly language code that will do the following: if( (dog mouse)) goto LOOP else goto LOOP_B;

 Question 10 (10 points) Saved 10) Choose the correct assembly language
code that will do the following: if( (dog mouse)) goto LOOP else
goto LOOP_B; EXPLANATION: If (dog is LESS THAN or EQUAL to cat)

Question 10 (10 points) Saved 10) Choose the correct assembly language code that will do the following: if( (dog mouse)) goto LOOP else goto LOOP_B; EXPLANATION: If (dog is LESS THAN or EQUAL to cat) AND (dog is GREATER THAN mouse) THEN go to LOOP A ELSE go to LOOP_B mov ax,dog cmp ax,cat js LOOP X iz LOOP X jmp LOOP B LOOP_X: mov ax,dog cmp ax,mouse js LOOP_B iz LOOP_B jmp LOOP A mov ax,dog cmp ax,cat js LOOP_B jz LOOP-B jmp LOOP_X LOOP_X: mov ax,dog cmp ax,mouse jz LOOP_A js LOOP A jmp LOOP_B Omov ax,dog cmp ax,cat js LOOP_B jz LOOP_B jmp LOOP A LOOP_X: mov ax,dog cmp ax,mouse jz LOOP_A js LOOP A jmp LOOP_B O mov ax,dog cmp ax,cat js LOOP_B jz LOOPB jmp LOOP A LOOP_X: mov ax,dogly cmp ax,mouse jz LOOP A js LOOP A jmp LOOP_B

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 Databases Questions!