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 ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
PRELIMINARY DATA<br />
162 WP channel type BR<br />
Scenario No. a Source<br />
Destination<br />
(See footnote c )<br />
Branch<br />
type b<br />
RTE at PC=X, new PC=Y, Y excepts, handler at PC=Z 1 X Y RTE<br />
<strong>SH</strong>media PC=X excepts, handler at PC=Z (X is not the target<br />
of a taken branch)<br />
<strong>SH</strong>compact PC=X excepts, handler at PC=Z (X is not the<br />
target of a taken branch)<br />
<strong>SH</strong>media branch at PC=X, target at PC=Y excepts, handler<br />
at PC=Z<br />
<strong>SH</strong>compact delayed branch at PC=X, delay slot at<br />
PC=X+2, target at PC=Y excepts, handler at PC=Z<br />
<strong>SH</strong>compact branch (delayed or non-delayed) at PC=X<br />
excepts, handler at PC=Z<br />
<strong>SH</strong>compact delayed branch at PC=X, delay slot at X+2<br />
excepts, handler at PC=Z<br />
RTE at PC=X, new PC=Y is a <strong>SH</strong>compact branch which<br />
excepts, handler at PC=Z<br />
RTE at PC=X, new PC=Y is a <strong>SH</strong>compact delayed branch<br />
whose delay slot excepts, handler at PC=Z<br />
2 X Z Event<br />
X-4 Z Event<br />
X-2 Z Event<br />
1 X Y Branch<br />
2 X Z Event<br />
1 X+2 Y Branch<br />
2 X+2 Z Event<br />
X-2 Z Event<br />
X Z Event<br />
1 X Y RTE<br />
2 X Z Event<br />
1 X Y RTE<br />
2 Y Z Event<br />
Table 59: Selection of branch source and destination addresses<br />
a. Some scenarios generate more than one BR channel trigger. When this happens, the<br />
triggers are numbered in the order they occur.<br />
D R A FT<br />
b. Where branch is shown in this column, it means either unconditional or conditional,<br />
depending on the branch type.<br />
c. For addresses of instructions in <strong>SH</strong>media mode, the value in the trace packet has the<br />
least significant <strong>bit</strong> set. For addresses of instructions in <strong>SH</strong>compact mode, the value in<br />
the trace packet has the least significant <strong>bit</strong> clear.<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