Has anyone come up with a better way to convert a 64 bit binary number to 
decimal then the way I did it?

Here is what I did:

        LG    R1,WKCELLD                                        
        CVDG  R1,LONG                                           
       * UNPK  0(11,R7),LONG(6)   FIRST 6 BYTES ARE ALWAYS ZERO  
        UNPK  0(11,R7),LONG+5(6)                                
        UNPK  10(11,R7),LONG+10(6)                              
        OI    20(R7),X'F0'                                      


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to