Question

Given you have a . 40 bit CPU The contents of memory are Address 412 413 414 415 416 417 418 419 420 Value Ox12 0x340x56 0x78 0x9AOxBCOxDE OxF10x23 What is the value of the word in HEX beginning at address 414 if the machine is Little Endian? If it is Big Endian? .Write your answer in HEX .Hex digits that are alphabetical should be written in uppercase o For example A and not a Make sure that 0x appears at the beginning of your answer Do not put whitespace in your answer Answers Little Endian: .Big Endian:

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

Little and big endian are two ways of storing multibyte data-types ( any data type like int, float, char).

In little endian machines,

last byte of binary representation of the multibyte data-type is stored first. On the other hand,

Address 412413414415 416 417418 419420 Value Ox12 0x34 0x56 0x78 0x9A OxBC OxDE OxF1 0x23

in big endian machines,

first byte of binary representation of the multibyte data-type is stored first.

So for the answer to the questions.

Little Endian:0xDE (value at the address of 418)

Big Endian: 0x56 (value at the address of 414)

Any problem ask in the comment section.

Thumbs up is appreciated.

Add a comment
Know the answer?
Add Answer to:
Given you have a . 40 bit CPU The contents of memory are Address 412 413...
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