[212] extra tokens error 12F629


Closed Thread
Results 1 to 3 of 3
  1. #1
    jswayze's Avatar
    jswayze Guest

    Default [212] extra tokens error 12F629

    I'm trying to create a "lite" version of software originally written for a 16F628A and use it with a 12F629. Using MicroCode Studio, I'm encountering an error that appears to have little documentation:

    Assembler error: [212] extra tokens on end of line

    The line in question is a simple "END SELECT" statement.

    Can anyone shed light on this error?

    Thanks!

    -Jeff

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


    Did you find this post helpful? Yes | No

    Default

    Will be hard to have the great answer since we don't see your code BUT
    • 1. is your SELECT CASE refer to i/o pins ? Be sure you use GPIO instead of PORTx
      2. about TRIS .... TRISIO instead of TRISx..
    and such ... be sure you're using the right Register, Port name for the according PIC.
    Steve

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

  3. #3
    jswayze's Avatar
    jswayze Guest


    Did you find this post helpful? Yes | No

    Default New strange problem... Help!

    Thanks Steve,

    I had an "@" directive at the head of my code that seemed to mess things up. I commented it out and the error went away.

    Last edited by jswayze; - 5th January 2005 at 04:21.

Similar Threads

  1. Error: extra tokens on end of line
    By Jasonce65 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 23rd January 2008, 17:04
  2. Disable MCU Extra Features
    By cjurczak in forum General
    Replies: 2
    Last Post: - 17th November 2006, 17:51

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