Section 2 CPU
Rev. 2.00 Mar 09, 2006 page 94 of 906
REJ09B0292-0200
Table 2.33 Correspondence between DSP Instruction Operands and Registers
ALU and BPU Instructions
Multiplication Instructions
Register
Sx
Sy
Dz
Du
Se
Sf
Dg
A0
Yes
—
Yes
Yes
—
—
Yes
A1
Yes
—
Yes
Yes
Yes
Yes
Yes
M0
—
Yes
Yes
—
—
—
Yes
M1
—
Yes
Yes
—
—
—
Yes
X0
Yes
—
Yes
Yes
Yes
Yes
—
X1
Yes
—
Yes
—
Yes
—
—
Y0
—
Yes
Yes
Yes
Yes
Yes
—
Y1
—
Yes
Yes
—
—
Yes
—
When writing parallel instructions, write the B field instructions first, then write the A field
instructions:
PADD A0,M0,A0 PMULS X0,Y0,M0 MOVX.W @R4+,X0 MOVY.W @R6+,Y0[;]
DCF PINC X1,A1 MOVX.W A0,@R5+R8 MOVY.W @R7+,Y0[;]
PCMP X1,M0 MOVX.W @R4+R8 [NOPY][;]
Text in brackets ([]) can be omitted. The no operation instructions NOPX and NOPY can be
omitted. Semicolons (;) are used to demarcate instruction lines, but can be omitted. If semicolons
are used, the space after the semicolon can be used for comments.
The individual status codes (DC, N, Z, V, GT) of the DSR register are always updated by
unconditional ALU operation instructions and shift operation instructions. Conditional instructions
do not update the status codes, even if the conditions have been met. Multiplication instructions
also do not update the status codes. DC bit definitions are determined by the specifications of the
CS bits in the DSR register.
Table 2.34 lists the DSP operation instructions by classification.
Содержание SH7616
Страница 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Страница 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Страница 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Страница 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Страница 662: ...Section 14 Serial Communication Interface with FIFO SCIF Rev 2 00 Mar 09 2006 page 636 of 906 REJ09B0292 0200 ...
Страница 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Страница 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Страница 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Страница 935: ...SH7616 Hardware Manual ...