Compiler refuses to compile


Results 1 to 10 of 10

Threaded View

  1. #5


    Did you find this post helpful? Yes | No

    Red face Compiler problems

    Hi Joe S,

    Yes, something is processing the assembler file but the file I have open in the editor window is the .pbp file, and I can't see anything in the options that might be telling the compiler to use the .asm file.

    Hi Skimask,

    The code above is not the Dev6.pbp code, but even in a one line program declaring a variable I get pretty much the same error messages. :{

    Here is the beginning of the Dev6 code

    TRISB = %11111111 ' Set PORTB to input
    TRISC = %11111111 ' Set PORTC to input
    TRISD = %11111111 ' Set PORTD to input
    CMCON = 7 ' Set PORTA to digital
    ADCON1 = 7 'Disable analog A\D
    TRISA.0 = 0 'Set PORTA.0 to output
    DEFINE OSC 4

    init: Pause 500 ' Wait for LCD to start up
    serout2 PORTA.0,84,[254]
    serout2 PORTA.0,84,[88]
    serout2 PORTA.0,84,["Hello"]
    PORTC.7 = 0
    PORTC.5 = 0

    sFocus VAR Byte 'Holds value to which focus will be set later
    panel VAR Byte 'panel number
    pLast VAR Byte 'last panel selected
    cFocus VAR Byte 'current focus
    stSq VAR Byte 'start square
    chars var byte[7] 'string chracters
    'charsW var word[7] 'string chracters
    stSize VAR Byte 'number of accumulated string chars
    arStart VAR Byte
    asciiCd VAR word
    myPort VaR word
    myString VAR WORD
    listPos VAR BYTE

    I think I shall have to strip it all off the computer and reload again.

    Thanks
    Mark
    Last edited by CodeShredder; - 18th June 2008 at 11:07.

Similar Threads

  1. compiler help!!!!
    By MINHLE in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 20th April 2008, 18:52
  2. USB PBPL Compile errors
    By Rob in forum USB
    Replies: 11
    Last Post: - 7th April 2008, 08:18
  3. Cannot compile for 40MHz 4 x pll
    By passion1 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 21st October 2007, 17:50
  4. Replies: 2
    Last Post: - 9th February 2006, 22:03
  5. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30

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