Question

AL holds the hexadecimal value of 095h, what is the hexadecimal value for register EAX after...

AL holds the hexadecimal value of 095h, what is the hexadecimal value for register EAX after executing the mnemonic opcode/operand instruction MOVSX EAX, AL? (This mnemonic opcode/operand instruction converts 8-bits to 32-bits)

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

The AL register is holds the 8 least significant bits of the EAX register.

Value in EAX = 095h = 95h = (1001 0101)2

MOVSX EAX, AL

This instruction copies the value of AL into EAX and sign extends it to 32 bits

So, value in EAX is

(1111 1111 1111 1111 1111 1111 1001 0101)2 = FFFFFF95h

Add a comment
Know the answer?
Add Answer to:
AL holds the hexadecimal value of 095h, what is the hexadecimal value for register EAX after...
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