Intermediate
Assembly Language
Q45 / 100
What is alignment in memory addressing?
Correct! Well done.
Incorrect.
The correct answer is B) Storing data at addresses that are multiples of the data size for performance and hardware requirements
B
Correct Answer
Storing data at addresses that are multiples of the data size for performance and hardware requirements
Explanation
A 4-byte int should be at an address divisible by 4. Misaligned accesses may work but are slower (or cause a fault on some architectures).
Progress
45/100