32 and 64bit Floating Point, PBP and a 16F648A...


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by N6VMO_ View Post
    I give up, how do I get $3FE3586328F97ED5 AND $C000D1A6DD4B949E into the N-Bit Math Value32 variable?
    What format are they in the array. ASCII hex digits or Binary values?
    Are they always the same length? With padding 0's to the left if lower values?

    And you mean a Value64 variable, right?
    DT

  2. #2
    Join Date
    Jul 2010
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    Him Darrel,

    The data is stored in ASCII hex digits and are always the same length. Yes, I meant Value64.


    Quote Originally Posted by Darrel Taylor View Post
    What format are they in the array. ASCII hex digits or Binary values?
    Are they always the same length? With padding 0's to the left if lower values?

    And you mean a Value64 variable, right?

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Well, assuming you have PBP 2.60, and the number starts at the beginning of the array, you could do this ...
    Code:
    ARRAYREAD  MyArray,[HEX2 Value64(7),HEX2 Value64(6),HEX2 Value64(5),HEX2 Value64(4), _
                        HEX2 Value64(3),HEX2 Value64(2),HEX2 Value64(1),HEX2 Value64(0)]
    You can add a SKIP n, if it starts later in the array.

    HTH,
    DT

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts