On 16/08/2010 14:16, Michael Matz wrote:
> Hi,
> 
> On Mon, 16 Aug 2010, Mohamed Shafi wrote:
> 
>> Hello all,
>>
>> I am trying to port GCC 4.5.1 for a processor that has the following
>> addressing capability:
>>
>> The data memory address space of 64K bytes is represented by a total
>> of 15 bits, with each address selecting a 16-bit element. When using
>> the address register, the LSB of address reg (AD) points to a 16-bit
>> field in data memory. If a data memory line is 128 bits there are 8,
>> 16-bit elements per data memory line. We use little endian addressing,
>> so
>> if AD=0, bits [15:0] of data memory line address 0 would be selected.
> 
> bits [15:0] are 16 bits, not 15 bits.

  The 15 is the number of address lines, not the size of the addressable unit.

    cheers,
      DaveK

Reply via email to