/sys$common/syshlp/helplib.hlb MACRO, VAX MACRO Assembler, Instructions, CVTLP *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Purpose: Convert longword to a packed decimal string Format: opcode src.rl,dstlen.rw,dstaddr.ab Operation: {dst string} = conversion of src C. Codes: N = {{dst string} LSS 0}, V = {decimal overflow}, Z = {{dst string} EQL 0}, C = 0 Exceptions: Reserved operand, decimal overflow Opcode: F9 CVTLP Convert long to packed Description: src is converted to a packed decimal string and the destination string operand specified by dstlen and dstaddr is replaced by the result. dst and R0-R3 are unpredictable on a reserved operand abort. Overlapping operands will produce correct results. Notes: After execution: R0 = 0 R1 = 0 R2 = 0 R3 = address of the byte containing the most-significant digit of the destination string
|