4.10.2 Convert Integer to Integer
Format:
CVTxy | Fb.rq,Fc.wx |
Operation:
CASE
CVTQL: Fc ← Fbv<31:30> 0<2:0> Fbv<29:0> 0<28:0>
CVTLQ: Fc ← SEXT(Fbv<63:62> Fbv<58:29>)
ENDCASE
Exceptions:
Integer Overflow, CVTQL only
Instruction mnemonics:
CVTLQ | Convert Longword to Quadword |
CVTQL | Convert Quadword to Longword |
Qualifiers:
Trapping: | Exception Completion (/S) (CVTQL only) |
| Integer Overflow Enable (/V) (CVTQL only) |
Description:
The
The conversion from quadword to longword is a repositioning of the low 32 bits of the oper- and, with zero fill and optional integer overflow checking. Integer overflow occurs if Fb is outside the range
The conversion from longword to quadword is a repositioning of 32 bits of the operand, with sign extension.