Patent ID: 6820195
Filing Date: 2004-11-16
Classification: G06F

Abstract:
A method for accessing a datum stored in a memory comprising:accessing the memory to read out a first portion of the datum, the first portion comprising one or more first bytes; performing a first rotation operation on the first bytes to produce rotated first bytes, wherein a rotate distance of the first rotation operation is based on whether the datum stored in the memory is stored in Big Endian order or in Little Endian order; replacing portions of the rotated first bytes with binary zeroes to produce aligned first bytes; storing the aligned first bytes to a first data store; accessing the memory to read out a second portion of the datum, the second portion comprising one or more second bytes; performing a second rotation operation on the second bytes to produce rotated second bytes, wherein a rotate distance of the second rotation operation is based on whether the datum stored in the memory is stored in Big Endian order or in Little Endian order; replacing portions of the rotated second bytes with binary zeroes to produce aligned second bytes; storing the aligned second bytes to a second data store; and performing an OR operation of the content of the first data store and the second data store to produce the datum.