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

Debug module 117<br />

1.8.14 DM.PC (shadow program counter register)<br />

This register allows debug software to read the current value of the shadow PC and<br />

the shadow ASID registers both located in the debug module.<br />

DM.PC<br />

0x100020<br />

Field Bits Size Volatile? Synopsis Type<br />

<strong>SH</strong>ADOW_PC [31:0] 32 ✓ Program counter RO<br />

<strong>SH</strong>ADOW_<br />

ASID<br />

Operation<br />

When read<br />

When written<br />

HARD reset<br />

The debug module maintains a shadow program counter which is<br />

kept in step with the program counter of the CPU core.<br />

The LSB of this field indicates the current ISA Mode (1 ==<br />

<strong>SH</strong>media, 0 == <strong>SH</strong>compact).<br />

Returns the current value of the shadow program counter. Reads<br />

do not affect the value of this counter.<br />

Ignored<br />

Undefined<br />

[39:32] 8 ✓ Application space ID RO<br />

Operation<br />

When read<br />

When written<br />

HARD reset<br />

The debug module maintains a shadow ASID register which is<br />

kept in step with the ASID field of the SR register in the CPU core.<br />

Returns the current value of the shadow ASID register. Reads do<br />

not affect the value of this register.<br />

Ignored<br />

Undefined<br />

— [63:40] 24 — Reserved RES<br />

Operation<br />

D R A FT<br />

Reserved<br />

When read Returns 0<br />

When written<br />

HARD reset 0<br />

Ignored<br />

Table 38: DM.PC definition<br />

05-SA-10003 v1.0<br />

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

<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 3: Debug

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

Saved successfully!

Ooh no, something went wrong!