NonStop S-Series Server Description Manual (G06.27+)

TNS Instruction Set Definition
HP NonStop S-Series Server Description Manual520331-004
C-29
Instruction Definitions
0 0 0 3 1 6 CEIR convert extended to integer with rounding
V := 0;
t:=15+256-exponent(A);
sign:=D.<0>;
if -2**15 <= DCBA <= 2**15-1
then {D.<0>:=1;
DC:=(DC'>>'t) '+' %100000;
if sign=1 then D:=-D
else if D.<0>=1 then V:=1}
else V:=1;
cc(D); RP:=RP-3
0 0 0 3 1 7 IDXD calculate index offset and test for bounds
violation (bounds table in data space)
V := 0;
t:=stack[A];
bc:=t.<0>; t.<0>:=0;
indv:=0; psize:=1;
s:=A;
if t <> predicted number of dimensions then
use Nonaccelerated Mode
while t>0 do
{lower:=stack[s:=s+1];
upper:=stack[s:=s+1];
if B<lower and bc=0 then
{V:=1; t =0;
cc(-1); R[7]:=B}
if B>upper and bc=0 then
{V:=1; t =0;
cc(1); R[7]:=B}
size:=upper-lower+1;
B:=B-lower;
indv:=indv+psize*B;
psize:=psize*size;
RP:=RP-1; t:=t-1}
if V=0 then
{R[7]:=indv;
cc(R[7])};
RP:=RP-1
0 0 0 3 2 0 CFQ convert floating to quad
V := 0;
t:=63+256-exponent(A);
sign:=B.<0>; RP:=RP+2;
if -2**63 <= DC <= 2**63-1
then {D.<0>:=1;
exponent(C):=0;
B:=A:=0;
DCBA:=DCBA'>>'t;
if sign=1 then DCBA:=-DCBA}
else V:=1;
cc(DCBA)
Table C-2. Instruction Definitions (page19of38)