64-bit division


Closed Thread
Results 1 to 16 of 16

Thread: 64-bit division

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Using note pad is cool. And to talk about non standard setups I mostly run on Linux and either use Emacs or gEdit for code writing.
    I just figured you were a newb that is why I assumed you were using Micro Code Studio ... Sorry.

    When you do start using 18F's MPASM will be required. It cam be evoked from the command line from just about anyplace. When you get to that point and maybe need some help we will be here.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Aug 2010
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    I should not have much trouble using MPASM. I just tried it with the present version of my program, and it works well. It only reported that strange error when there was the n-bit math code present.
    Without that code, it assembles my program well, but still reports over 200 messages about crossing page boundaries. I hope these messages can be disabled somehow, because they make any real error messages scroll out of the window AND out of the screen buffer!

    I guess that with enough time, things will fall into place.

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Last edited by mackrackit; - 5th August 2010 at 20:09.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Aug 2010
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Yes, it helps! Now the hundreds of useless messages are gone!

    But one problem leads to the next: With PM, I edited the include file for the specific PIC to get the configuration word I need, without having to edit it in the PIC programmer every time. But with MPASM, I get the default config word, and have to edit it! I tried adding directives for the assembler to use the config word I need, but so far this has only led to errors.

    Other than that, MPASM is giving the exact same output as PM. So, as long as I still use only 16F devices, I don't see a good reason to use MPASM at all! Is there any?

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    In the same inc file that you set the configs for PM is where you set them for MPASM . Second set of configs.

    If you are using 16Fs and straight PBP then PM is fine.
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Aug 2010
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Oh, stupid me! It even SAYS in the file that the first set is for PM and the other is for MPASM! I didn't notice that... Now it works fine.

    Let's blame it to my old age!

    Thanks again!

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Manfred View Post
    Oh, stupid me!

    If only I could figure out how to get paid for my stupid mistakes I would have it made.
    http://www.picbasic.co.uk/forum/show...2255#post92255

    Have fun!!!
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 0

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