assembly errors


Closed Thread
Results 1 to 4 of 4

Thread: assembly errors

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Hi Alec,

    How do I find where my error is? I can't find anything in the manual or on the list.
    Assuming you're using PM (not MPASM), you can find a list of error descriptions in your PBP directory in a file called "pm.txt" (sometimes the descriptions don't help all that much).

    The error should be found on line 96 of your assembled "asm" file.

    Arch
    "Data sheets? I ain't got no data sheets. I don't need no data sheets. I don't have to read any stinking data sheets!"

  2. #2
    Join Date
    Feb 2005
    Location
    brookfield, ct, usa
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    Thanks Arch
    I dumped the .asm file into excel to get line numbers, and line 96 was blank, right after @ device pic16f628a, INTRC_OSC_NOCLKOUT. I'd had an exrta comma in the file - took that out and it compiled OK.
    I would never have seen that...
    Live and learn - lets see if we can make it work now that I've got a program that compiles...
    Thanks again - take care
    Alec

  3. #3
    Join Date
    May 2004
    Location
    New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Good to hear you found the problem :-)
    I've never figured out why the line numbers don't match up, but the problem is usually nearby somewhere - as you found out.

    Arch
    "Data sheets? I ain't got no data sheets. I don't need no data sheets. I don't have to read any stinking data sheets!"

Similar Threads

  1. Compilation errors - strange
    By tetanus4 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th October 2009, 19:04
  2. Picbasic Pro Demo assembly errors
    By mikeRho in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 2nd January 2008, 06:41
  3. Assembly Guru : Question
    By Archangel in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th May 2007, 03:51
  4. Microcode Studio Plus compile/assmebly errors
    By mikehagans in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th February 2006, 21:31
  5. How do you do this in Assembly
    By ice in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th May 2005, 06:47

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