PDA

View Full Version : Compiler/Assembler Error



LT_Pic
- 5th June 2005, 00:35
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.

mister_e
- 5th June 2005, 01:24
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

LT_Pic
- 5th June 2005, 03:28
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

mister_e
- 5th June 2005, 10:12
You're welcome, great to now it works for you now.


Steve, you are a genius.

yeah i know ;)

Danish
- 21st July 2005, 01:40
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

NavMicroSystems
- 21st July 2005, 01:56
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.

Danish
- 21st July 2005, 02:55
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

Luciano
- 21st July 2005, 10:47
Please start a new thread for your request.
This thread is about "Compiler/Assembler Error".

(Use the button "New Thread").