A method used in a data processing system for selecting a bank in a memory which has a number of banks, wherein first bits of an address used for addressing a location in a selected bank of said memory are incrementable before being used to address the memory, wherein a carry output is generated when the incrementing of said first bits results in there being a carry from the highest order bit of said first bits, and said address includes second bits for identifying a bank in said memory to be selected and then addressed by the first bits, whether incremented or not, of said address, said method comprising the steps of:
- incrementing said second bits when a carry output signal is generated to compensate for the incrementation of said first bits, and using said second bits, to select a bank in said memory.