On a z, use the entire 64 bit register and use the MSGx instruction.

        STCK DOUBLEWORD
        LG   R6,DOUBLEWORD
        L    R7,MULIPLIER
        MSGR R6,R7
* RESULT OF 64 BIT R6 TIMES 32 BIT R7 IN 64-BIT R6.

On Mon, 2011-04-04 at 06:31 -0400, Joe Owens wrote:
> I have need to multiply a STCK duration, ie STCK2-STCK1 by a variable
> factor, say from 5% to 1000%.
> I would like the result to be a STCK duration too, suitable for STIMER
> MICVL=
> I suspect the best answer is to do FP arithmetic. I've never done this
> before, and looking for some friendly advice.
> Thanks in advance.
> Joe Owens
--
John McKown
Maranatha! <><

Reply via email to