Why you don't try N-Bit_MATH?
http://www.picbasic.co.uk/forum/show...2694#post82694
I use this code to store result as string in array
Code:'Convert 64Bit to string @ MOVE?CP 10, _Tmp64bit ; copy a CONSTANT to a Pvar FOR i=19 TO 0 STEP -1 @ MATH_DIV _Int64Bit, _Tmp64bit, _Res64bit ; Res = A / B; Remainder in REG_Z ValueStr[i]=REG_Z+48 @ MOVE?PP _Res64bit, _Int64Bit ; copy a Pvar to a Pvar NEXT i




Bookmarks