Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

cosc 2325 Machine language thankyou Question 4 (10 points) Given the code below: What will be the resulting value of the Sign Flag (SF), and

image text in transcribed
image text in transcribed
image text in transcribed
cosc 2325 Machine language
thankyou
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 Question 5 (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, 7fffh mov bx, 8fffh cmp bx, ax js LOOPX SF=1 ZF=0 JUMP WILL OCCUR SF=1 ZF=0 JUMP WILL NOT OCCUR SF=0 ZF=0 JUMP WILL NOT OCCUR SF=0 ZF=1 JUMP WILL OCCUR Question 6 (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, 01h mov bx, 01h cmp bx,ax ins LOOPX : mov 01h to ax (16 bits) : mov 01h to bx (16 bits) SF=1 ZF=0 JUMP WILL OCCUR SF=0 ZF=1 JUMP WILL OCCUR SF-1 ZF=O JUMP WILL NOT OCCUR SF=0 ZF=O JUMP WILL NOT OCCUR

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions

Question

What reactive strategies might you develop?

Answered: 1 week ago

Question

Are robots going to displace all workers? Explain your answer.

Answered: 1 week ago