25.02.2015 Views

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PRELIMINARY DATA<br />

230 DBUS protocol<br />

3.6.6 Endian-specific behavior<br />

Data<br />

size<br />

The msk field determines which bytes in the data field are significant. The manner<br />

in which the bytes within the data field correspond to offsets from the address field<br />

is dependant on the endianness of the target system.<br />

This is illustrated in Table 81.<br />

Mask<br />

Byte positions within 8-byte data field<br />

D R A FT<br />

Address offset in<br />

endian mode:<br />

7 6 5 4 3 2 1 0 Big Little<br />

8 0xFF MSB LSB 0 0<br />

4 0x0F MSB LSB 4 0<br />

4 0xF0 MSB LSB 0 4<br />

2 0x03 MSB LSB 6 0<br />

2 0x0C MSB LSB 4 2<br />

2 0x30 MSB LSB 2 4<br />

2 0xC0 MSB LSB 0 6<br />

1 0x1 7 0<br />

1 0x2 6 1<br />

1 0x4 5 2<br />

1 0x8 4 3<br />

1 0x10 3 4<br />

1 0x20 2 5<br />

1 0x40 1 6<br />

1 0x80 0 7<br />

Table 81: DBUS mask/address mapping for big and little endian modes<br />

<strong>SuperH</strong>, Inc.<br />

<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 3: Debug 05-SA-10003 v1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!