Question: cosc 2325 machine language please try do all question thank you Question 2 (10 points) Given the code below: What will be the resulting value

 cosc 2325 machine language please try do all question thank you

Question 2 (10 points) Given the code below: What will be the

resulting value of the Sign Flag (SF), and the Zero Flag (ZF)

cosc 2325 machine language please try do all question thank you

Question 2 (10 points) Given the code below: What will be the resulting value of the Sign Flag (SF), and the Zero Flag (ZF) and will the Jump occur or will the Jump NOT occur mov ax,05h mov bx,06h cmp bx,ax js loop1 SF=1 ZF=1 JUMP WILL OCCUR SF=0 ZF=O JUMP WILL NOT OCCUR SF=1 ZF=0 JUMP WILL OCCUR SF=0 ZF=1 JUMP WILL NOT OCCUR Question 3 (10 points) Given the code below: What will be the resulting value of the Sign Flag (SF), and the Zero Flag (ZF) and will the Jump occur or will the Jump NOT occur mov ax,Ofh cmp ax,Oh jns loop1 SF=1 ZF=1 JUMP WILL OCCUR SF=0 ZF=1 JUMP WILL NOT OCCUR SF=1 ZF=0 JUMP WILL OCCUR SF=0 ZF=0 JUMP WILL OCCUR Question 4 (10 points) Given the code below: What will be the resulting value of the Sign Flag (SF), and the Zero Flag (ZF) and will the Jump occur or will the Jump NOT occur mov ax, 9fffh mov bx, 8fffh cmp ax, bx js LOOPX SF=0 ZF=1 JUMP WILL OCCUR SF=0 ZF=0 JUMP WILL NOT OCCUR SF=1 ZF=0 JUMP WILL OCCUR SF=1 ZF=1 JUMP WILL OCCUR

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!