Compiler/Assembler Error


Closed Thread
Results 1 to 8 of 8
  1. #1
    LT_Pic's Avatar
    LT_Pic Guest

    Angry Compiler/Assembler Error

    Initially the 4.06 Assembler and 2.45 PBPW compiler has been successfully working under a WinXP Professional environment. However since past week suddenly nothing seems to work anymore. Even complete delete and reinstalltion of the whole package did not help. Any idea how to fix this ? Is this a screw up for Dos applications in the registry ?

    Attached is an example error listing:

    PM Assembler 4.06, Copyright (c) 1995, 2003 microEngineering Labs, Inc.
    Error C:\PBP\SAMPLES\BLINK.ASM 3 : [236] Label 'PM_USED' Undefined in Pass 0
    Error C:\PBP\SAMPLES\BLINK.ASM 3 : [235] Opcode Expected Instead of 'EQU'
    Error C:\PBP\SAMPLES\BLINK.ASM 5 : [235] Opcode Expected Instead of 'INCLUDE'
    Error C:\PBP\SAMPLES\BLINK.ASM 9 : [236] Label 'CODE_SIZE' Undefined in Pass 0
    Error C:\PBP\SAMPLES\BLINK.ASM 11 : [236] Label 'RAM_START' Undefined in Pass 0
    Error C:\PBP\SAMPLES\BLINK.ASM 11 : [235] Opcode Expected Instead of 'EQU'
    Error C:\PBP\SAMPLES\BLINK.ASM 12 : [236] Label 'RAM_END' Undefined in Pass 0
    Error C:\PBP\SAMPLES\BLINK.ASM 12 : [235] Opcode Expected Instead of 'EQU'
    Error C:\PBP\SAMPLES\BLINK.ASM 13 : [236] Label 'RAM_BANKS' Undefined in Pass 0
    Error C:\PBP\SAMPLES\BLINK.ASM 13 : [235] Opcode Expected Instead of 'EQU'
    Error C:\PBP\SAMPLES\BLINK.ASM 14 : [236] Label 'BANK0_START' Undefined in Pass 0
    Error C:\PBP\SAMPLES\BLINK.ASM 14 : [235] Opcode Expected Instead of 'EQU'
    Error C:\PBP\SAMPLES\BLINK.ASM 15 : [236] Label 'BANK0_END' Undefined in Pass 0
    Error C:\PBP\SAMPLES\BLINK.ASM 15 : [235] Opcode Expected Instead of 'EQU'
    Error C:\PBP\SAMPLES\BLINK.ASM 16 : [236] Label 'BANK1_START' Undefined in Pass 0
    Fatal C:\PBP\SAMPLES\BLINK.ASM 16 : [300] Too Many Errors
    PicBasic Pro Compiler 2.45a, (c) 1998, 2004 microEngineering Labs, Inc.
    All Rights Reserved.

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


    Did you find this post helpful? Yes | No

    Default

    probably your path is not define in Windows Environement variable... pure guess here


    Have you also try with MPASM
    http://www.microengineeringlabs.com/support/mplab.htm
    Steve

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

  3. #3
    LT_Pic's Avatar
    LT_Pic Guest


    Did you find this post helpful? Yes | No

    Default That was the solution !

    Steve, you are a genius. The hint with the path was absolutely correct, although it took me a while to figure out how to correct this in XP (I was familiar with MsDos, but did never try to do this in XP).

    Once again thanks a lot for your geat help !!!

    Michael

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


    Did you find this post helpful? Yes | No

    Default

    You're welcome, great to now it works for you now.

    Quote Originally Posted by lt_pic
    Steve, you are a genius.
    yeah i know
    Steve

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

  5. #5
    Danish's Avatar
    Danish Guest


    Did you find this post helpful? Yes | No

    Talking Button

    hello can anyone help me out here i dont understand the command BUTTON completely. In the commnad you have to write the pin, down, delay, rate, var,action, and label the thing i dont understand is what does RATE MEAN!!!!
    and i am using a PICBASIC compiler

    i would appreciate a reply
    Last edited by Danish; - 21st July 2005 at 00:43.

  6. #6
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Danish
    hello can anyone help me out here i dont understand the command BUTTON completely. In the commnad you have to write the pin, down, delay, rate, var,action, and label the thing i dont understand is what does RATE MEAN!!!!
    and i am using a PICBASIC compiler

    i would appreciate a reply
    Well,
    you don't understand BUTTON
    I don't understand your post on this thread,
    (The BUTTON statement was not the topic of the thread!)
    however:
    a look at Manual Section 5.6 should answer your question.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  7. #7
    Danish's Avatar
    Danish Guest


    Did you find this post helpful? Yes | No

    Lightbulb Looking For A Circuit For Pic16f84

    I Am Looking For A Project That Uses The Microcontroller Pic16f84 Or Any Other Microcontroller Can Someone Give Me A Schematic And Information The Project.

    I Will Really Appreciate It
    Thank You

  8. #8
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Please start a new thread for your request.
    This thread is about "Compiler/Assembler Error".

    (Use the button "New Thread").

Similar Threads

  1. Using input from Switch to control a loop
    By MrRoboto in forum mel PIC BASIC
    Replies: 9
    Last Post: - 2nd February 2009, 05:02
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. Optimizing DIV
    By skimask in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 22nd September 2008, 04:58
  4. pbp245 compliation error
    By Woodzy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 25th July 2006, 05:59
  5. 16F88 Compile error
    By Toley00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 2nd November 2005, 00:22

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