Hi I got this using MPLAB 4.99 with PBP By the lst file seems OK but where is my mistake? Thanks for your help. Fernando Teixeira --------- Building TESTLC~1.HEX... Compiling TESTLC~1.BAS: Command line: "C:\PROGRA~2\MPLAB\PBP.EXE -ampasm -oq -c -p16F876 -v C:\PROGRA~2\MPLAB\TESTLC~1.BAS" PicBasic Pro Compiler 2.12, Copyright (c) 1998 microEngineering Labs, Inc. All Rights Reserved. Pass 1: Pass 2: Code Gen: Macro Pass: Memory allocation error Cannot start COMMAND, exiting Build completed successfully. ---------- and in the lst file: Program Memory Words Used: 461 Program Memory Words Free: 7731 Errors : 0 Warnings : 0 reported, 0 suppressed Messages : 0 reported, 5 suppressed