Question

(d) Give one reason why on the AVR the result of the multiply instruction is always placed in RO and R1, rather than having t

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

(d) Since multiplication of two numbers could result in product whose size is beyond the storage capacity of single register and hence it require 2 registers . Since one destination register is not sufficient to hold the result, hence AVR keeps result in R0 and R1 instead of specifying single register in instruction itself.

(e) The advantage of keeping same register for PC and other registers is that it gives user flexibility to read and write the content of program counter like other registers.

The advantage of keeping separate PC register is that validity of address can be checked during jump to particular address so that program should not jump to space not valid for user. Hence it provides better security .

Please comment for any clarification.

Add a comment
Know the answer?
Add Answer to:
(d) Give one reason why on the AVR the result of the multiply instruction is always placed in RO and R1, rather than ha...
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