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 />

134 Debug protocols and interfaces<br />

Reference message (14-bytes)<br />

Field<br />

Size<br />

Header <strong>bit</strong><br />

positions<br />

Description<br />

TIME_VALUE 5-bytes N/A The value of the 40-<strong>bit</strong> timestamp counter in the<br />

debug module.<br />

PC_ADDRESS 4-bytes The absolute 4-byte address of the shadow program<br />

counter at the time this message is generated. This<br />

address becomes the new reference PC value and the<br />

relative address in a trace message which follows will<br />

be based on this value.<br />

BA_ADDRESS 4-bytes The absolute 4-byte reference address associated<br />

with the <strong>SuperH</strong>yway bus analyzer. This value<br />

becomes the new bus analyzer reference address and<br />

the relative address in a bus analyzer trace message<br />

which follows will be based on this value.<br />

Byte name<br />

in Table 49<br />

Table 47: Reference message<br />

Handling of misaligned store instructions<br />

This section describes the contents of the DATA_FIELD_SIZE and DATA_ADDRESS fields<br />

in OA and IV trace messages that result from STHI.Q, STHI.L, STLO.Q or STLO.L<br />

instructions. The field contents are shown in Table 49. The 8 bytes within the<br />

register containing the data for the store are identified by A, B, C, D, E, F, G, H. The<br />

association between these labels and the bytes in the register is shown in Table 48.<br />

Data source register for store (referred to as Ry in the instruction definitions)<br />

MSB<br />

Bits<br />

[63:56]<br />

Bits<br />

[55:48]<br />

Bits<br />

[47:40]<br />

Bits<br />

[39:32]<br />

Bits<br />

[31:24]<br />

Bits<br />

[23:16]<br />

Bits<br />

[15:8]<br />

D R A FT<br />

H G F E D C B A<br />

Table 48: Byte naming convention used in table Table 49<br />

LSB<br />

Bits<br />

[7:0]<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!