Patent ID: 7216215

Claim:
A data access method, comprising a data reading procedure to read a data from a data storage zone wherein said data is stored in a bit range of said data storage zone covering at least one storage units, each storage unit of said data storage zone consisting of m bits, and said bit range consists of n bits from a starting bit address (a) to an end bit address (b), and said data reading procedure comprising steps of: i) performing a first operation of said starting bit address (a) to obtain a first shift S 1 ; ii) performing a second operation of said starting bit address (a) to obtain a second shift S 2 ; iii) performing a first shift operation of said data with said first shift S 1 to obtain a first shifted data unit; iv) performing a second shift operation of said data with said second shift S 2 to obtain a second shifted data unit; v) synthesizing said first and said second shifted data units to obtain a read data unit; and vi) repeating at least one of said steps iii), iv) and v) when n is greater than m; wherein said first and said second operations are performed by the following formulae: S 1 =mod[a, m]; and S 2 =m−mod[a, m]=m−S 1 , where mod [a, m] is the remainder on division of a by m.