#2 tab/macro parse errors in 0.10.3 gpasm

None
open
None
5
2012-12-29
2002-06-05
Dan Julio
No

First of all...Thank you for creating this program!!! It is great to be
able to compile PIC code on Mac OS X (10.1.4 w/ Dec 2001
developer's tools).

I get parse errors for the following parts of my source file

  1. tabs in the first column of an equate
  2. macro definitions

using 0.10.3 alpha gpasm for a PIC 16c57.

The file being assembled compiles successfully using microchip's
assembers (as old as mpalc 4.12).

I have included the file that I am trying to assemble.

> gpasm message.asm

Discussion

  • Craig Franklin

    Craig Franklin - 2002-08-04

    Logged In: YES
    user_id=91596

    Equates and macro definitions start with a label.
    Microchip's documentation states that all labels must begin
    in column 1. Although mpasm accepts labels which aren't in
    column 1, it still generates a warning.

    gpasm may be modified in the future to allow this, but for
    now only the documented behavior of mpasm will be
    implemented. Once the documented features are complete,
    this subject may be revisited.

    Thank you for the suggestion.

     
  • David Barnett

    David Barnett - 2007-06-07

    Logged In: YES
    user_id=896846
    Originator: NO

    Moved to "Feature Requests".

     
  • David Barnett

    David Barnett - 2007-11-18

    Logged In: YES
    user_id=896846
    Originator: NO

    I raised the priority on this issue because it causes many of the Microchip-provided tests to fail, and therefore makes our testing process as a whole much more complicated.

     
  • Borut Ražem

    Borut Ražem - 2012-10-21

    I can't find the attachment, but I assume that the issue no. 2: "macro definitions" is fixed in preprocessor branch, svn revision #847.

    Borut

     
  • Borut Ražem

    Borut Ražem - 2012-10-21
    • assigned_to: Borut Ražem
    • milestone: --> None
     
  • Borut Ražem

    Borut Ražem - 2012-11-01
    • status: open --> pending
     
  • Borut Ražem

    Borut Ražem - 2012-11-01

    Potential fix merged to HEAD in svn revision #867.

    Borut

     
  • Borut Ražem

    Borut Ražem - 2012-12-29
    • status: pending --> open
    • priority: 8 --> 5
     
  • Borut Ražem

    Borut Ražem - 2012-12-29

    Response to David Barnet's comment:

    I raised the priority on this issue because it causes many of the Microchip-provided tests to fail, and therefore makes our testing process as a whole much more complicated.

    I modified the problematic tests, so that they now pass on gputils. I decereased the priority back to normal.

    I think that I misunderstood the request:

    1. macro definitions
      It is about supporting tabs in the first column of a macro definition, so it has nothing to do with fix in svn revision #867. I re-set the request to state "open".

    Borut

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks