/sys$common/syshlp/helplib.hlb
MACRO, VAX MACRO Assembler, Instructions, MULP

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Purpose:        Multiply one packed decimal string by a second,

                    result placed in third
    Format:         opcode mulrlen.rw,mulraddr.ab,muldlen.rw,
                           muldaddr.ab,prodlen.rw,prodaddr.ab
    Operation:      {prod string} = {muld string} * {mulr string}
    C. Codes:       N = {{prod string} LSS 0}, V = {decimal overflow},
                    Z = {{prod string} EQL 0}, C = 0
    Exceptions:     Reserved operand, decimal overflow
    Opcode:         25    MULP     Multiply packed
    Description:    The multiplicand string muld specified by muldaddr
                    and muldlen is multiplied by the multiplier string
                    mulr specified by mulraddr and mulrlen. The product
                    is placed in the string prod as specified by prodaddr
                    and prodlen.
    Notes:          After execution:

                    R0 = 0
                    R1 = address of the byte containing the
                         most-significant digit of the multiplier string
                    R2 = 0
                    R3 = address of the byte containing the
                         most-significant digit of the multiplicand string
                    R4 = 0
                    R5 = address of the byte containing the
                         most-significant digit of the product string
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.