Hello PIC.ers, Having spent too many hours trying to tease out this one, maybe someone can point me in the right direction. Before I lose my remaining hairs. I'm trying to re-jig old 16Fxxx code to the newer 18Fxxx series and looking to upgrade the rest of my toolchain (esp. relocatable code) while I'm about it. THereafter, I can get on with further projects.. Setup: ICD2, MPLAB 6.30, 18F452. Source files: 2 off Main.asm Maths.asm Header files: P18F425.inc This one is not completely standard-as-issued. I can elaborate if it might be relevant. Linker file: p2plsp18.lkr ie very similar to standard 18F452i.lkr, but with an . extra SECTION ROM Problem & symptoms: On assembling & linking (ctrl-F10), the output window shows: ********************************************** there's a message (310) ......P18F452.INC 1495 : Superceding current maximum RAM and RAM map. then MPLINK 3.50, Linker Copyright (c) 2003 Microchip Technology Inc. Errors : 0 MP2COD 3.50, COFF to COD File Converter Copyright (c) 2003 Microchip Technology Inc. Errors : 0 MP2HEX 3.50, COFF to HEX File Converter Copyright (c) 2003 Microchip Technology Inc. Errors : 0 Loaded C:\ServCdat\PICSORCE\Pat2001\Cube&Beam\Monitor\CB_Monit.cof BUILD SUCCEEDED: Sat Jan 10 00:52:58 2004 ******************************************************* So, all looks well. Then when I look at the output *.map file I see that no assembling or linking has been done at all. Good as useless y'might say. I've looked hi and lo for code examples which use macros, but there don't seem to be any around. The source files main.asm and maths.asm both invoke the directive ` #include macros.asm' at the top of each file. Has my problem got anything to do with macros, or should I find another tree to bark up? The map file looks as follows: ******************************************************* MPLINK 3.50, Linker Linker Map File - Created Sat Jan 10 00:14:59 2004 Section Info Section Type Address Location Size(Bytes) --------- --------- --------- --------- --------- .cinit romdata 0x00002a program 0x000002 Program Memory Usage Start End --------- --------- 0x00002a 0x00002b 2 out of 33048 program addresses used, program memory utilization is 0% Symbols - Sorted by Name Name Address Location Storage File --------- --------- --------- --------- --------- Symbols - Sorted by Address Name Address Location Storage File --------- --------- --------- --------- --------- ******************************************************************* I'll be helluva grateful to anyone who can give my any leads as to where to begin with this issue. best regards, John email from the desk of John Sanderson. JS Controls, PO Box 1887, Boksburg 1460, Rep. of S. Africa. Tel/Fax 011 893 4154, Cell 082 741 6275, web http://www.jscontrols.co.za Manufacturer & purveyor of laboratory force testing apparatus & related products & services. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.