NonStop S-Series Server Description Manual (G06.24+)
TNS Instruction Set
HP NonStop S-Series Server Description Manual—520331-003
11-16
Definitions of TNS Instructions
CEFR (000277). Convert Extended to Floating, Rounded. The four-word floating-point 
quantity in DCBA is converted to a two-word floating-point quantity.  The new quantity 
is rounded according to the contents of truncated bit 7 of C. DCBA is deleted, and the 
two-word result is pushed onto the stack.
CEI (000337). Convert Extended to Integer. The extended floating-point quantity in 
DCBA is converted to a single-word signed integer. CBA is deleted, and the single-
word result is pushed onto the stack. Overflow is set if the value of the operand was 
greater than 32767 or less than –32768. Condition Code is set on the result.
CEIR (000316). Convert Extended to Integer, Rounded. The extended floating-point 
quantity in DCBA is converted to a single-word signed quantity, with rounding 
according to the contents of the most significant fractional bit. CBA is deleted, and the 
single-word result is pushed onto the stack. Overflow is set if the value of the operand 
was greater than 32767 or less than –32768.  Condition Code is set on the result.
CEQ (000322). Convert Extended to Quadruple. The extended floating-point quantity 
in DCBA is converted to a quadrupleword integer in DCBA. Overflow is set if the value 
of the operand was greater than 2
63
–1 or less than –2
63
. Condition Code is set on the 
result.
CEQR (000323). Convert Extended to Quadruple, Rounded. The extended floating-
point quantity in DCBA is converted to a quadrupleword integer in DCBA, with rounding 
according to the contents of the most significant fractional bit. Overflow is set if the 
value of the operand was greater than 2
63
–1 or less than –2
63
. Condition Code is set 
on the result.
CFD (000312). Convert Floating to Double. The floating-point quantity in BA is 
converted to a doubleword signed integer in BA. Overflow is set if the value of the 
operand was greater than 2
31
–1 or less than –2
31
. Condition Code is set on the result.
CFDR (000313). Convert Floating to Double, Rounded. The floating-point quantity in 
BA is converted to a doubleword signed integer in BA, with rounding according to the 
contents of the most significant fractional bit. Overflow is set if the value of the 
operand was greater than 2
31
–1 or less than –2
31
. Condition Code is set on the result.
CFE (000325). Convert Floating to Extended. The floating-point quantity in BA is 
converted to an extended floating-point quantity. BA is deleted, and the four-word 
result is pushed onto the stack.
CFI (000311). Convert Floating to Integer. The floating-point quantity in BA is 
converted to a single-word signed integer. A is deleted, and the single-word result is 
pushed onto the stack. Overflow is set if the value of the operand was greater than 
32767 or less than –32768. Condition Code is set on the result.
CFIR (000310). Convert Floating to Integer, Rounded. The floating-point quantity in 
BA is converted to a single-word signed integer, with rounding according to the 
contents of the most significant fractional bit. A is deleted, and the single-word result is 
pushed onto the stack. Overflow is set if the value of the operand was greater than 
32767 or less than –32768. Condition Code is set on the result.










