NonStop S-Series Server Description Manual (G06.24+)
TNS Instruction Set Definition
HP NonStop S-Series Server Description Manual—520331-003
C-30
Instruction Definitions
0 0 0 3 2 1  CFQR convert floating to quad with rounding
 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:=s:=0;
 DCBAs:=(DCBAs'>>'t) '+' %100000;
 if sign=1 then DCBA:=-DCBA}
 else V:=1;
 cc(DCBA)
0 0 0 3 2 2  CEQ  convert extended to quad
 V := 0;
 t:=63+256-exponent(A);
 sign:=D.<0>;
 if -2**63 <= DCBA <= 2**63-1
 then {D.<0>:=1;
 exponent(A):=0;
 DCBA:=DCBA'>>'t;
 if sign=1 then DCBA:=-DCBA}
 else V:=1;
 cc(DCBA)
0 0 0 3 2 3  CEQR convert extended to quad with rounding
 V := 0;
 t:=63+256-exponent(A);
 sign:=D.<0>;
 if -2**63 <= DCBA <= 2**63-1
 then {D.<0>:=1;
 exponent(A):=0;
 s:=0;
 DCBAs:=(DCBAs'>>'t) '+' %100000;
 if sign=1 then DCBA:=-DCBA}
 else V:=1;
 cc(DCBA)
0 0 0 3 2 4  CQF  convert quad to floating
 V := 0;
 sign:=D.<0>; exp:=63+256;
 if sign=1 then
 DCBA:=-DCBA;
 if DCBA<>0 then
 {norm(DCBA);
 exponent(C):=exp;
 D.<0>:=sign}
 RP:=RP-2
0 0 0 3 2 5  CFE  convert floating to extended
 V := 0;
 G:=exponent(A);
 exponent(A):=0;
 H:=0;
 RP:=RP+2
Table C-2. Instruction Definitions (page20of38)










