Using both DIV32 and LONGs together


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Using both DIV32 and LONGs together

    I have many old code modules that uses DIV32. I have just tried to use the LONG compiler with some of these and I get an error message

    ERROR: Macro DIV32?CW not found in macro file.

    Does this mean I cannot use DIV32 with the long compiler or have I just got a bad setup.

    Cheers
    BrianT

  2. #2


    Did you find this post helpful? Yes | No

    Default New install

    I renamed the PBP, PBPW and PBPL directories so that MCSP 3.0.0.5 could not immediately find PBPW.EXE then I did a new clean install from the PBP 2.50 CD.
    I downloaded and ran the PBP250b.exe patch.

    In the new PBP directory, just created by the new install, I can see PBP.EXE, PBPL.EXE and PBPW.EXE.

    I pointed MCSP 3.0.0.5 to the new directory C:\PBP.

    I reckon that should be a 'new and clean' install.

    I can clear the PBPL box and my code compiles. This code has no LONG variables declared. When I check the "use PBPL" box and try to compile, I get the error message ....ERROR: Macro DIV32?CW not found in macro file.

    I really don't want to have to recode all the subroutines that use DIV32 as there are many of them.

    Can anyone confirm they can use the PBPL compiler with code that has DIV32 instructions in it?

    Cheers
    BrianT

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Talking

    Hi, Brian

    NO WAY to use DIV32 with PBPL ( one could say : Why ??? )

    you want to use a function that does NOT exist in PBPL !!!

    a simple text editor will help you more than you think ...


    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4


    Did you find this post helpful? Yes | No

    Default RTFM - page 38

    Bugger.
    Page 38 (PBP manual 7/07) says .... DIV32 is not supported by PBPL....

    That means a huge job of converting all my old code that uses DIV32.

    I need the extra accuracy of PBPL and did not expect to have to rewrite old subroutines that have been extensively debugged over the past several years.

    Sadly
    BrianT

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Talking

    Example of the "huge job" ( lol ), here :

    http://www.picbasic.co.uk/forum/show...&postcount=149

    ... please, stop kidding ...

    Alain

    PS:
    that have been extensively debugged
    Was so much bugged ??? ...
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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