Question

What will be the value of the parity flag after the following lines execute? Mov al,...

What will be the value of the parity flag after the following lines execute? Mov al, 3 Add al, 5

What will be the value of the destination operand after each of the following instructions execute?     

      .data

var1 SBYTE     -1, -2, -3, -4

var2 WORD A000h, B000h, C000h, D000h

var3 SWORD     -16, -42

var4 DWORD     11, 22, 33, 44

.code

mov ax, var2

mov ax, [var2+4]

mov ax, var3

mov ax, [var3-2]

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Value of parity flag will be 0 since al will have value 8(1000) which has odd number of set bits.

Destination operand value

1. A000h

2. D000h

3. -16

4. -18

Add a comment
Know the answer?
Add Answer to:
What will be the value of the parity flag after the following lines execute? Mov al,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT