A processor-based automatic alignment device and method for data movement.
Data stored in a memory at a first position is partitioned by word
boundaries into a first part, a second part and a third part and written
to the memory at a second position. The device includes: an internal
register, a load combine register, a shifter, a rotator, a store combine
register and a mask selector. Data is loaded in and aligned by the device
for storing in internal register of a processor. Then, data stored in the
internal register is automatically aligned and then written in the memory
at an unaligned position.