Hi,
My PICBASIC PRO compiler stubbornly refuses to compile any programs, even those that would compile before and 1 line test programs. When compiling a program dev6.pbp the error window showed these errors.
Eror DEV6.ASM 3:[235] opcode expected instead of "
Eror DEV6.ASM 5:[235] opcode expected instead of "
Eror DEV6.ASM 9:[238] preprocessor directive expected
Eror DEV6.ASM 9:[235] opcode eexpected instead of ' (('
Eror DEV6.ASM 10:[235] opcode expected instead of "
Eror DEV6.ASM 9:[238] preprocessor directive expected
Eror DEV6.ASM 9:[235] opcode eexpected instead of ' (('
Eror DEV6.ASM 10:[235] opcode expected instead of "
Etc.
This is the start of the DEV6.ASM file as seen in Windows notepad. (the first line is empty).
; PICBASIC PRO(TM) Compiler 2.47, (c) 1998, 2006 microEngineering Labs, Inc. All Rights Reserved.
PM_USED EQU 1
INCLUDE "16F877A.INC"
; Define statements.
#define CODE_SIZE 8
#define OSC 4
RAM_START EQU 00020h
RAM_END EQU 001EFh
RAM_BANKS EQU 00004h
BANK0_START EQU 00020h
BANK0_END EQU 0007Fh
BANK1_START EQU 000A0h
BANK1_END EQU 000EFh
BANK2_START EQU 00110h
BANK2_END EQU 0016Fh
BANK3_START EQU 00190h
BANK3_END EQU 001EFh
EEPROM_START EQU 02100h
EEPROM_END EQU 021FFh
R0 EQU RAM_START + 000h
R1 EQU RAM_START + 002h
R2 EQU RAM_START + 004h
R3 EQU RAM_START + 006h
R4 EQU RAM_START + 008h
R5 EQU RAM_START + 00Ah
etc....
I have reloaded the software, reset the compiler options in my MicroCode Studio Plus but to no avail.
Can anybody suggest a possible remedy?
Many thanks,
Mark
Bookmarks