English
Language : 

SH7065 Datasheet, PDF (112/941 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
Section 2 CPU
Table 2.37 MSB Detection Instructions
Instruction
PDMSB Sx,Dz
PDMSB Sy,Dz
DCT PDMSB Sx,Dz
DCT PDMSB Sy,Dz
DCF PDMSB Sx,Dz
DCF PDMSB Sy,Dz
Operation
MSB position of Sx data →
Dz upper word,
Dz lower word is cleared
MSB position of Sy data →
Dz upper word,
Dz lower word is cleared
If DC = 1,
MSB position of Sx data →
Dz upper word,
Dz lower word is cleared
If DC = 0, nop
If DC = 1,
MSB position of Sy data →
Dz upper word,
Dz lower word is cleared
If DC = 0, nop
If DC = 0,
MSB position of Sx data →
Dz upper word,
Dz lower word is cleared
If DC = 1, nop
If DC = 0,
MSB position of Sy data →
Dz upper word,
Dz lower word is cleared
If DC = 1, nop
Instruction Code
Execution
States DC Bit
111110********** 1
Updated
10011101xx00zzzz
111110********** 1
1011110100yyzzzz
Updated
111110********** 1
—
10011110xx00zzzz
111110********** 1
—
1011111000yyzzzz
111110********** 1
—
10011111xx00zzzz
111110********** 1
—
1011111100yyzzzz
Table 2.38 Rounding Operation Instructions
Instruction
Operation
PRND Sx,Dz Sx + H'00008000 → Dz
Dz lower word is cleared
PRND Sy,Dz Sy + H'00008000 → Dz
Dz lower word is cleared
Instruction Code
Execution
States DC Bit
111110********** 1
Updated
10011000xx00zzzz
111110********** 1
Updated
1011100000yyzzzz
Rev. 5.00 Sep 11, 2006 page 90 of 916
REJ09B0332-0500