Patent ID: 7308555

Claim:
A processor-based method for loading unaligned data, wherein the unaligned data is divided by word boundaries into a first part, a second part and a third part, and stored in a memory having a plurality of m (positive integer)-bit words partitioned by word boundaries, the method comprising: a first fetching step, which executes a first instruction to fetch a first word from the memory having the first part; a second fetching step, which executes a second instruction to fetch a second word from the memory having the second part; a first shifting step, which combines the first word and the second word to form a first combination and shifts the first combination to a first position; a third fetching step, which executes a third instruction to fetch a third word from the memory having the third part; and a second shifting step, which combines the second word and the third word to form a second combination and shifts the second combination to the first position.