MPASM Error Message


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

    Default MPASM Error Message

    Good evening all-

    I recently moved up to PBPV3.0.7.0 from PBP2.5. I have a whole number of projects that compiled & assembled successfully using V2.5 and PM. However, when I try on a 16F876 or indeed any of my 16F projects using MPASM, I get the following error message:

    [ASM ERROR] Symbol not previously defined (Rollover) (0) : Error [113]

    Where do I define Rollover? Cant find any reference to this in the Forum

    Any help appreciated

    Angus Anderson

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: MPASM Error Message

    Hi Angus,
    Considering all MPASM errors are assembly errors, and IF they correctly worked in PBP 2.5 my best advice is to look carefully at your config settings. Try deleting the config in your code and see if it compiles with success. Otherwise I would need to SEE your code. PBP issues will report, likely in red . . .
    Many times errors report as xxx.asm with a line number. you can open the yourfilename.ASM page and scroll to that line number.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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


    Did you find this post helpful? Yes | No

    Default Re: MPASM Error Message

    Look for a label or variable named Rollover in your code. Or I should say a label or variable called in your code that is not defined in your code.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: MPASM Error Message

    Quote Originally Posted by mackrackit View Post
    Look for a label or variable named Rollover in your code. Or I should say a label or variable called in your code that is not defined in your code.
    My first thought too Dave, seems like it would not compile in 2.5 with that error, wondering if this is "found code" and/or if there is a missing include file.
    Last edited by Archangel; - 2nd September 2014 at 21:53.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: MPASM Error Message

    Thanks Archangel, macmackit,

    Based on your suggestions I examined the include file INT-TIM0.PBP

    The "ROLLOVER" was the DEFINED label for the Interrupt handler

    The manual says this is case sensitive, and when I capitalised the label ROLLOVER at the start of the asm routine it all worked

    Seems that in V2.5 the label does not need to be capitalised, whereas in V3 it does :-)

    Many thanks for the suggestions

    Angus Anderson

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


    Did you find this post helpful? Yes | No

    Default Re: MPASM Error Message

    Could be in the way MCS is / was setup. Auto capitalize can be a problem. That is a feature that can cause bugs.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Shift Function gives MPASM error
    By blackwood in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th September 2010, 08:45
  2. Error message???
    By dangill in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th February 2009, 11:53
  3. MPASM error message
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd April 2008, 14:24
  4. error message
    By chip_select in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st March 2008, 07:14
  5. Mpasm Error 5955
    By mungam753 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th December 2005, 04:47

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