Hi all,
Having an odd problem with a 16F873. I'm working on a program, compiling sections as they are finished to check for mistakes.
I compiled the program and got the usual [102] warning about the page boundary, with 2610 words used.

Then I added a single instruction, and I get a "FATAL ERROR: Out of Memory" message!

This is a 4K device, so there is lots of room left. I tried putting all the variables in 'bank0' - but that didn't help. Subroutines are all up at the top of the code.

Any ideas??
Thanks,
Arch

Here are the messages from PM...

C:\PBP>pbp -p16f873 zglcd8-1.bas
PicBasic Pro Compiler 2.44, (c) 1998, 2003 microEngineering Labs, Inc. All Rights Reserved.
PM Assembler 4.06, Copyright (c) 1995, 2003 microEngineering Labs, Inc.
Warn C:\PBP\ZGLCD8-1.ASM 1157 : [102] Code Crosses Boundary @ 800h
2613 words used.

>>>>

C:\PBP>pbp -p16f873 zglcd8-1.bas
PicBasic Pro Compiler 2.44, (c) 1998, 2003 microEngineering Labs, Inc.
All Rights Reserved.

FATAL ERROR: Out of Memory.

C:\PBP>