PIC16F648A and errors when compiling / assembling


Closed Thread
Results 1 to 2 of 2
  1. #1
    chrisuk2009's Avatar
    chrisuk2009 Guest

    Default PIC16F648A and errors when compiling / assembling

    Hi,

    I'm pretty new to using PIC's, and have a bit of a problem I've tried a few times to sort but banging head against the wall.

    Im using PicBasic Pro and MicroCode Studio to complile some code for a 16F648A

    Everything seems ok but im getting an error in MicroCode Studio;

    at the line

    @ device INTRC_OSC_NOCLKOUT

    I keep getting :
    Warning [207] file.asm 68 : Found label after column 1(device)
    Error [122] file.asm 68 : Illegal opcode (INTRC_OSC_NOCLKOUT)

    The code I have was given to me by its author who has a hex file which works no problem that was sent to me, but when coming to complile it from the PBP file I keep getting this error.

    Does anyone know what I can do to sort it?

    Thanks
    Chris

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


    Did you find this post helpful? Yes | No

    Default

    Welcome.

    For starters you will find this helpful.
    http://www.picbasic.co.uk/forum/showthread.php?t=543

    In MCS do you have MPASM selected as the assembler or PM?

    Either way the config line is wrong. The above thread should explain things. If not, let us know.
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 1

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