Micro Code Studio Plus manual


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    marad73's Avatar
    marad73 Guest


    Did you find this post helpful? Yes | No

    Red face problems

    Hi Steve,
    I have one line in new code that, when I compile it, it comes back with only one fault line (one error). I was successful in debugging the others.
    This line starts out with Error (108).........................illegal character (&)
    I can find NO referance anywhere how to interpret these lines. For that matter, there is no "&" character anywhere in the code!
    Also, what does the statement that begins with a less-than symbol, then AN followed by 2 numbers seperated by a colon, followed by a greater than symbol mean?? I can't find any referance to that either! That's why I said I would love a printed manual! I'm still quite new to PBP and MCSP also, for that matter!
    Thanks,
    Ron

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    108 Illegal character
    An illegal character in a label. Valid characters for labels are alphabetic (a..f,
    A..F), numeric (0-9), the underscore (_), and the question mark (?). Labels
    may not begin with a numeric.

    This is from the MPASM assembler help file under section "Errors, Warnings,
    Messages, and Limitations". It doesn't have anything to do with MCS editor.

    It's a message passed to the editor from the assembler.

    With MCS running, click View, Compile and Program Options, and select the
    Compiler tab. Un-check "Case sensitive", and see if it compiles without the
    error.

    what does the statement that begins with a less-than symbol, then AN followed by 2 numbers seperated by a colon, followed by a greater than symbol mean??
    Post an example of this one. It may be what's causing the error.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    marad73's Avatar
    marad73 Guest


    Did you find this post helpful? Yes | No

    Smile above

    Hi Bruce, Thanks and here it is: <an2:1>
    It is included in a comment, preceded by a (') so I know it doesn't impact the code. However, I just want to know what it is telling me!! Again, no referance for it found anywhere. Also, is there a list of error codes anywhere in MCSP, PBP or MPLAB that will let me know what error codes come up when they do?
    Ron

  4. #4
    marad73's Avatar
    marad73 Guest


    Did you find this post helpful? Yes | No

    Smile above

    Hi Bruce, Thanks and here it is: an2:1
    It is included in a comment, preceded by a (') so I know it doesn't impact the code. However, I just want to know what it is telling me!! Again, no referance for it found anywhere. Also, is there a list of error codes anywhere in MCSP, PBP or MPLAB that will let me know what error codes come up when they do?
    Ron
    PS Sorry about the missing stuff. The statement is proceded by a "less than" symbol and ended by a "more than" symbol. (I guess I can't use these in the forum. It won't take them!)

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    If it's a comment in assembler then it has to be preceeded by ;.

    MCS is just an editor. Depending on which assembler you're using, PM or
    MPASMWIN, all error codes will be found in that assemblers help file.

    For PM look in PM.TXT. For MPASMWIN look in the MPASM help file. The only
    errors (that I know of) MCS will pass back are errors generated by the
    assembler you're using.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 09:26
  2. MicroCode Studio Plus Code Explorer Question
    By enauman in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th September 2007, 11:31
  3. Micro Code Studio - Warning message
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th November 2006, 22:17
  4. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 18:23
  5. micro code studio plus asm error
    By cesurcelik in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th December 2005, 14:14

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