N-Bit_MATH


Results 1 to 39 of 39

Thread: N-Bit_MATH

Threaded View

  1. #8
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hey Darrel,

    Only works for me with MPASM assembler case sensitive option enabled.

    In DT_INTS-18;
    SaveFSR macro F, Pr
    RestFSR macro F, Pr

    And in N-Bit_Math:
    SAVEFSR macro
    RESTFSR macro

    Edit:
    Code:
    MOVE?PP  macro BeerIN, Pout ; copy an N-bit variable to an N-bit variable
    BeerCount = 0
        while BeerCount < PRECISION
          MOVE?BB BeerIN + BeerCount, Pout + BeerCount
    BeerCount = BeerCount + 1         
        endw
      endm
    Too cool --- Classic Darrel...;o)
    Last edited by Bruce; - 5th January 2010 at 00:24. Reason: OMG
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Members who have read this thread : 2

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