English
Language : 

SH-2A Datasheet, PDF (125/501 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family
6.3.12 CLIPU
CLIP as Unsigned
Unsigned Saturation Value Compare Instruction
Section 6 Instruction Descriptions
Arithmetic Instruction
SH-2A/SH2A-FPU (New)
No. Format
1
CLIPU.B Rn
2
CLIPU.W Rn
Abstract
If Rn > (saturation value), (saturation
value) → Rn, 1 → CS
Code
0100nnnn10000001
0100nnnn10000101
Cycle
1
1
T Bit
―
―
Description
Determines saturation. Unsigned data is used with this instruction. If the contents of general
register Rn exceed the saturation value, the saturation value is stored in Rn and the CS bit is set to
1. The saturation value for each instruction is shown in the table below.
No.
Instruction
1
CLIPU.B Rn
2
CLIPU.W Rn
Saturation Value
H'000000FF
H'0000FFFF
Notes
The CS bit value does not change if the contents of general register Rn do not exceed the
saturation upper-limit value.
Rev. 3.00 Jul 08, 2005 page 111 of 484
REJ09B0051-0300