NonStop S-Series Server Description Manual (G06.27+)
TNS Instruction Set Definition
HP NonStop S-Series Server Description Manual—520331-004
C-31
Instruction Definitions
0 0 0 3 2 6 CDFR convert double to floating with rounding
V := 0;
sign:=B.<0>; exp:=31+256;
if sign=1 then
BA:=-BA;
if BA<>0 then
{norm(BA);
BA:=BA'+'%400;
if carry out then
exp:=exp+1;
exponent(A):=exp;
B.<0>:=sign}
0 0 0 3 2 7 CID convert integer to double
H:=A; A:=A>>15; V:=0;
RP:=RP+1
0 0 0 3 3 0 CQFR convert quad to floating with rounding
V := 0;
sign:=D.<0>; exp:=63+256;
if sign=1 then
DCBA:=-DCBA;
if DCBA<>0 then
{norm(DCBA);
DC:=DC'+'%400;
if carry then
exp:= exp+1;
exponent(C):=exp;
D.<0>:=sign}
RP:=RP-2
0 0 0 3 3 1 CIF convert integer to floating
V := 0;
sign:=A.<0>; exp:=15+256;
if sign=1 then A:=-A;
if A<>0 then
{norm(A);
H:=exp;
A.<0>:=sign}
else H:=0;
RP:=RP+1
0 0 0 3 3 2 CIE convert integer to extended
V := 0;
sign:=A.<0>; exp:=15+256;
if sign=1 then A:=-A;
H:=G:=0;
if A<>0 then
{norm(A);
F:=exp;
A.<0>:=sign}
else F:=0;
RP:=RP+3
0 0 0 3 3 3 XSMX checksum extended block
D=initial checksum
CB=block address
A=count
while A<>0 do
{D:=D xor xmem[CB];
A:=A-1;
CB:=CB+2};
RP:=RP-3
Table C-2. Instruction Definitions (page21of38)