20. Why is address alignment important?
The alignment of the access refers to the address being a multiple of the transfer size. For example, an aligned 32 bit access will have the bottom 4 bits of the address as 0x0, 0x4, 0x8 and 0xC assuming the memory is byte addressed. An unaligned address is then an address that isn't a multiple of the transfer size.
Any attempt to access a data value or instruction using an address that is not properly aligned will result in a hardware trap being generated.This is the reason why Address alignment is important.