Next time try to include the project folder. Trying to compile the code provided takes effort. For the error the problem is that the location for vector is protected and include the linker script during linking. I have included the linker file below. Please change the line with "NAME=3Dvectors" to "Name=3DRESET_VECTOR". Remove the protected word at the end. John // Sample linker command file for 16F88 LIBPATH . CODEPAGE NAME=3Dvectors START=3D0x0 END=3D0x4 = PROTECTED CODEPAGE NAME=3Dpage0 START=3D0x5 END=3D0x7FF CODEPAGE NAME=3Dpage1 START=3D0x800 END=3D0xFFF CODEPAGE NAME=3D.idlocs START=3D0x2000 END=3D0x2003 = PROTECTED CODEPAGE NAME=3D.device_id START=3D0x2006 END=3D0x2006 = PROTECTED CODEPAGE NAME=3D.config START=3D0x2007 END=3D0x2009 = PROTECTED CODEPAGE NAME=3Deedata START=3D0x2100 END=3D0x21FF = PROTECTED DATABANK NAME=3Dsfr0 START=3D0x0 END=3D0x1F = PROTECTED DATABANK NAME=3Dsfr1 START=3D0x80 END=3D0x9F = PROTECTED DATABANK NAME=3Dsfr2 START=3D0x100 END=3D0x10F = PROTECTED DATABANK NAME=3Dsfr3 START=3D0x180 END=3D0x18F = PROTECTED SHAREBANK NAME=3Dsfrnobnk START=3D0x70 END=3D0x7F = SHAREBANK NAME=3Dsfrnobnk START=3D0xF0 END=3D0xFF = SHAREBANK NAME=3Dsfrnobnk START=3D0x170 END=3D0x17F = SHAREBANK NAME=3Dsfrnobnk START=3D0x1F0 END=3D0x1FF = DATABANK NAME=3Dgpr0 START=3D0x20 END=3D0x6F DATABANK NAME=3Dgpr1 START=3D0xA0 END=3D0xEF DATABANK NAME=3Dgpr2 START=3D0x110 END=3D0x16F DATABANK NAME=3Dgpr3 START=3D0x190 END=3D0x1EF SECTION NAME=3DSTARTUP ROM=3Dvectors // Reset and interrupt vectors SECTION NAME=3DPROG0 ROM=3Dpage0 // ROM code space = SECTION NAME=3DPROG1 ROM=3Dpage1 // ROM code space = SECTION NAME=3DIDLOCS ROM=3D.idlocs // ID locations SECTION NAME=3DDEVICEID ROM=3D.device_id // Device ID SECTION NAME=3DDEEPROM ROM=3Deedata // Data EEPROM --- James Mullins wrote: > = > Hi I'm new to the world of PIC's so sorry if this > really dumb question. > Currently I=E2=80=99m trying to familiarise my self with > PIC programming by working > my way through a book I found at the library. I'm > attempting to convert and > assemble code originally designed for a PIC16F84 to > something i can use with > a PIC16F88 using MPLAB. What I=E2=80=99ve done is taken > the code from the book and > placed it under main in the MPLAB 16F88 template > file. Below is the code I'm > trying to build within MPLAB and the following > output. > = > http://www.nabble.com/user-files/235749/f88tempo.asm > f88tempo.asm = > = > = > Clean: Deleting intermediary and output files. > Clean: Deleted file "C:\pic\code\prog2\f88tempo.o". > Clean: Deleted file > "C:\pic\code\prog2\f88tempo.ERR". > Clean: Deleted file "f88tempo.lst". > Clean: Deleted file > "C:\pic\code\prog2\prog2mplab.mcs". > Clean: Done. > Executing: "C:\Program Files\Microchip\MPASM > Suite\MPAsmWin.exe" /q /p16F88 > "f88tempo.asm" /l"f88tempo.lst" /e"f88tempo.err" > /o"f88tempo.o" /w2 > Executing: "C:\Program Files\Microchip\MPASM > Suite\MPLink.exe" > "C:\pic\code\prog2\16F88.lkr" > "C:\pic\code\prog2\f88tempo.o" > /o"prog2mplab.cof" /M"prog2mplab.map" > MPLINK 4.04, Linker > Copyright (c) 2006 Microchip Technology Inc. > Error - section 'RESET_VECTOR' can not fit the > absolute section. Section > 'RESET_VECTOR' start=3D0x00000000, length=3D0x00000002 > Errors : 1 > = > BUILD FAILED: Tue Aug 22 11:17:25 2006 > = > = > -- = > View this message in context: > http://www.nabble.com/-PIC-beginner%3A-help-with-PIC16F88-tf2163203.html#a5= 978636 > Sent from the MicroControllers - PIC forum at > Nabble.com. > = > = > -- = > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > = __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around = http://mail.yahoo.com = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist