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

TNS Instruction Set Definition
HP NonStop S-Series Server Description Manual520331-004
C-24
Instruction Definitions
0 0 0 2 7 5 FCMP floating compare
V := 0;
if D.<0> <> B.<0> then
cc(D:B)
else
{sign:=D.<0>;
D.<0>:=B.<0>:=0;
t1:=exponent(C);
t2:=exponent(A);
if t1<>t2 then
if sign=0 then
cc(t1:t2)
else cc(t2:t1)
else
if sign=0 then
cc(DC:BA)
else cc(BA:DC)}
RP:=RP-4
0 0 0 2 7 6 CEF convert extended to floating
V := 0;
exponent(C):=exponent(A);
RP:=RP-2
0 0 0 2 7 7 CEFR convert extended to floating with rounding
V := 0;
sign:=D.<0>; D.<0>:=1;
exp:=exponent(A);
DC:=DC'+'%400;
if carry then
{exp:=exp+1;
if exp.<6> then V:=1}
D.<0>:=sign;
exponent(C):=exp;
RP:=RP-2
Table C-2. Instruction Definitions (page14of38)