Post Reply 
(49G) Convert Integer from Integer Base A to Integer Base B
07-16-2022, 09:07 AM
Post: #4
RE: HP 49G: Convert Integer from Integer Base A to Integer Base B
Here a sys version of the programme in posting #1:

Code:
Size: 99.5

CkSum: # 2568h

::
  CK3&Dispatch
  # 5FFFF
  ::
    2NULLLAM{}_
    BIND
    INNERCOMP
    reversym
    ZINT 0
    SWAP
    ZERO_DO
    OVER
    TYPEZINT?
    NcaseTYPEERR
    2GETLAM
    FPTR2 ^RMULText
    FPTR2 ^RADDext
    LOOP
    NULL{}
    SWAP
    BEGIN
    1GETLAM
    FPTR2 ^ZDIVext
    ROT
    SWAP>HCOMP_
    SWAP
    FPTR2 ^DupQIsZero?
    UNTIL
    DROP
    ABND
  ;
;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 49G: Convert Integer from Integer Base A to Integer Base B - Gerald H - 07-16-2022 09:07 AM



User(s) browsing this thread: 1 Guest(s)