Section 2 CPU
Rev. 2.00 Mar 09, 2006 page 96 of 906
REJ09B0292-0200
2.5.4
Various Operation Instructions
ALU Arithmetic Operation Instructions:
Tables 2.35–2.44 list various operation instructions.
Table 2.35 ALU Fixed Point Operation Instructions
Instruction
Operation
Code
Cycles
DC Bit
PABS Sx,Dz
If Sx
≥
0,Sx
→
Dz
If Sx<0,0– Sx
→
Dz
111110**********
10001000xx00zzzz
1
Update
PABS Sy,Dz
If Sy
≥
0,Sy
→
Dz
If Sy<0,0–Sy
→
Dz
111110**********
1010100000yyzzzz
1
Update
PADD Sx,Sy,Dz
Sx+Sy
→
Dz
111110**********
10110001xxyyzzzz
1
Update
DCT PADD
Sx,Sy,Dz
if DC=1,Sx+Sy
→
Dz if 0,nop
111110**********
10110010xxyyzzzz
1
—
DCF PADD
Sx,Sy,Dz
if DC=0,Sx+Sy
→
Dz if 1,nop
111110**********
10110011xxyyzzzz
1
—
PADD Sx,Sy,Du
PMULS
Se,Sf,Dg
Sx+Sy
→
Du
MSW of Se
×
MSW of
Sf
→
Dg
111110**********
0111eeffxxyygguu
1
Update
PADDC
Sx,Sy,Dz
Sx+Sy+DC
→
Dz
111110**********
10110000xxyyzzzz
1
Update
PCLR Dz
H'00000000
→
Dz
111110**********
100011010000zzzz
1
Update
DCT PCLR Dz
if DC=1,H'00000000
→
Dz
if 0,nop
111110**********
100011100000zzzz
1
—
DCF PCLR Dz
if DC=0,H'00000000
→
Dz
if 1,nop
111110**********
100011110000zzzz
1
—
PCMP Sx,Sy
Sx–Sy
111110**********
10000100xxyy0000
1
Update
PCOPY Sx,Dz
Sx
→
Dz
111110**********
11011001xx00zzzz
1
Update
PCOPY Sy,Dz
Sy
→
Dz
111110**********
1111100100yyzzzz
1
Update
DCT PCOPY
Sx,Dz
if DC=1,Sx
→
Dz if 0,nop
111110**********
11011010xx00zzzz
1
—
Summary of Contents for SH7616
Page 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Page 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Page 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Page 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Page 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Page 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Page 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Page 935: ...SH7616 Hardware Manual ...