Assembler problem


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2008
    Location
    Slovakia
    Posts
    3

    Default Assembler problem

    Hello!

    I've got a problem with my Assembler. When I use the built-in assembler with the 16 series, it works fine, but it's not working with the 18 series. So for this cases I use the external MPLab 8.0 Suite assembler made by Microchip. But with this, my programs using the 16 series PIC doesn't work properly. Since I usually forget to switch between them when changing the PIC and the program, it happens quite a lot. There are differences even in the hex files.
    Is there any way to fix the assembler problem or the only way is to stick a paper on my monitor telling me to check the assembler settings?

    With regards
    Joe

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Are you using Melabs PicBasic Pro or just pure assembler?

    If you're using PicBasic Pro, there's no need to change assembler, always use MPASM. It works for all pic Family.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Mar 2008
    Location
    Slovakia
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    I'm using PicBasic Pro and it throws an error when using the built-in assembler:
    "MPASM Required
    The PICMicro Assembler does not support the 18F2423 microcontroller. You need to use MPASM in order to compile your PICBasic program."

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    hence why i suggest you to ALWAYS use MPASM, from the 10F to 18F.

    Once again, there's no advantages to use PM. The only difference for "most" regular end-user will be the ConfigFuses syntax, and... period. So forget about PM, and always use MPASM. Leave "Use MPASM" box checked in MicroCode Studio.

    That's what i do all the time since years now.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by om3bc View Post
    "MPASM Required
    The PICMicro Assembler does not support the 18F2423 microcontroller. You need to use MPASM in order to compile your PICBasic program."
    Says the same thing right in the manual too! Well, not exactly the same thing...but the point is exactly the same...

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 19:52
  2. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  3. Assembler and interrupt problem
    By milanche in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st September 2006, 17:24
  4. Replies: 26
    Last Post: - 2nd January 2006, 18:31
  5. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59

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