Re: Perform calculation with great number
Posted: Wed May 04, 2011 12:11 am
You are treating the value from IGGCSI00 as a signed value. It is not signed. After your shift you have a 64-bit signed value in register 6 and 7, so the result of your division is signed, and wrong. This will work.
SR 6,6
L 7,=X'D1394000'
D 6,=A(12*5096)
L 7,=X'D1394000'
D 6,=A(12*5096)