NonStop S-Series Server Description Manual (G06.24+)
TNS Instruction Set Definition
HP NonStop S-Series Server Description Manual—520331-003
C-23
Instruction Definitions
0 0 0 2 7 1 FSUB floating subtract
if BA<>0 then
B.<0>:=~B.<0>;
goto FADD
0 0 0 2 7 2 FMPY floating multiply
V:=0
if DC=0 or BA=0 then
DC:=0
else
{t1:=exponent(C);
t2:=exponent(A);
exp:=t1+t2-255;
sign:=D.<0> xor B.<0>;
D.<0>:=B.<0>:=1;
exponent(C):=0;
exponent(A):=0;
DCBA:=DC'*'BA;
norm(DC);
DC:=DC'+'%400;
if carry out then
exp:=exp+1;
if exp.<6>=1 then
call overflow;
D.<0>:=sign;
exponent(C):=exp}
if no overflow then cc(DC);
RP:=RP-2
0 0 0 2 7 3 FDIV floating divide
V:=0
if BA=0 then
call overflow;
else
if DC<>0 then
{t1:=exponent(C);
t2:=exponent(A);
exp:=t1-t2+256;
sign:=D.<0> xor B.<0>;
D.<0>:=B.<0>:=1;
exponent(C):=0;
exponent(A):=0;
DC:=DC'/'BA;
norm(DC);
DC:=DC'+'%400;
if carry out then
exp:=exp+1;
if exp.<6>=1 then
call overflow;
D.<0>:=sign;
exponent(C):=exp}
if no overflow then cc(DC);
RP:=RP-2
0 0 0 2 7 4 FNEG floating negate
V := 0;
if BA<>0 then
B.<0>:=~B.<0>;
cc(BA)
Table C-2. Instruction Definitions (page13of38)