The same two bytes interpreted as an unsigned integer have a little-endian numerical value 255 greater than their big-endian value. Which hexadecimal values could represent the integer on the little-endian computer?
If bytes at increasing addresses are a,b, little-endian value is a+256b and big-endian is 256a+b. Their difference is 255(b−a), so b=a+1. In the little-endian numerical hexadecimal value, the high byte must exceed the low byte by one. Both 0x6665 and 0x0100 satisfy this, A,D.
More Instruction Set and Addressing Modes questions
GATE 2026 CS (CS1) Q14– Match each addressing mode in List I with a data element or an element of a data structure…
GATE 2026 CS (CS1) Q15– Consider a processor P whose instruction set architecture is the load-store architecture.…
GATE 2026 CS (CS2) Q44– Consider a processor that has 16 general-purpose registers and uses a 2-byte instruction…
GATE 2025 CS (CS1) Q37– A processor has 64 general-purpose registers and 50 distinct instruction types. An…
GATE 2025 CS (CS2) Q28– Which of the following is/are part of an Instruction Set Architecture of a processor?
GATE 2024 CS (CS2) Q57– A processor with 16 general purpose registers uses a 32-bit instruction format. The…