Question

ect Answer Answered What is the value of ro after the following executes? mov ro, 123 mvn ro, ro 124 123 -44 e 23How?

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

MOV R0, 123   //Will move the value 123 into the register R0
MVN R0, R0   //Will perform a bitwise logical NOT operation
           //on the value in R0 and places the result into R0.
           //The binary value of 123 is: 0111 1011 and its
           //logical NOT value is: 1000 0100. Its decimal
           //equivalent should have been -124.

Add a comment
Know the answer?
Add Answer to:
How? What is the value of r0 after the following executes? mov r0, 123 mvn r0,...
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