W90221X Winbond Electronics Corp America, W90221X Datasheet - Page 218

no-image

W90221X

Manufacturer Part Number
W90221X
Description
Pa-risc Embedded Controller
Manufacturer
Winbond Electronics Corp America
Datasheet
*HIDDEN[0] : The most significiant bit of hidden bits.
Operation:
switch (cmplt) {
}
Exception : None
Saturation GR[r]
Format:
Purpose: To test general register GR[r] 16-bit overflow, then saturate GR[r] into
G[t],
GR r and Gr t may be the same register
Description: To test general GR[r] 16-bit overflow, and if the general register GR[r]
is overflow, then saturate the general register GR[r], and the saturation result is put
into destination register Gr[t]. If Gr[r] is not overflow, the GR[r] value is copied into
GR[t].
operation, and the result is stored in GR r register. The operation tests the high-order
32-bits of the register GR[r], and the possible results after execution of saturation is
shown in TableI.
Taable I..
*HOV GR[r]{0}
W90221X version 0.6
05
0:5
6
The saturation instruction for GR[r] is intended to be used in the 16-bit halfword
default : (c = 0; double word saturation){
}
}
case h : (c = 1; word saturation){
~
6:10
5
SATGR r, t
break;
break;
if (WMV) {HI, LO}
else
if (HMV) {HI, LO}
else
r
11:15
5
~
16:18
GR[t]
GR[t]
GR[t]
GR[t]
3
~
19
{HI[0], {31{~HI[0]}}};
LO;
1
{HIDDEN[0], {31{~HIDDEN[0]}}};
HI;
{{33{HI[0]}}, {31{~HI[0]}}};
1
{HIDDEN[0], {63{~HIDDEN[0]}}};
20
1
0c
21:25
~
5
t
26
1
27:31
SATGR
5
- 218 -

Related parts for W90221X