On Sun, 19 Aug 2012 11:57:47 +0200 Jan-Erik Soderholm wrote: > Yes, I was only testing the short abs-only code that Tamas posted... :-) The thread is getting confusing, and I am even more confused. I did some more tests, based on several suggestions and some between-the-lines: I have this .lkr script (note the addresses for .cinit, and resetvec. For s= ome=20 reason the addresses are interchanged) CODEPAGE NAME=3Dresetvec START=3D0x0 END=3D0x3 CODEPAGE NAME=3Dintserv START=3D0x4 END=3D0xff CODEPAGE NAME=3Dpage0 START=3D0x100 END=3D0x7FF CODEPAGE NAME=3Dpage1 START=3D0x800 END=3D0xDFF CODEPAGE NAME=3D.cinit START=3D0xE00 END=3D0xE0F CODEPAGE NAME=3D.idlocs START=3D0x2000 END=3D0x2003 PROTECTED CODEPAGE NAME=3D.config START=3D0x2007 END=3D0x2007 PROTECTED CODEPAGE NAME=3Deedata START=3D0x2100 END=3D0x217F PROTECTED DATABANK NAME=3Dgpr0 START=3D0x20 END=3D0x6F SHAREBANK NAME=3Dshr1 START=3D0x70 END=3D0x7F .... The generated map: Section Info =20 Section Type Address Location Size(Bytes) --------- --------- --------- --------- ---------=20 .cinit romdata 0x000000 program 0x000004 intserv code 0x000004 program 0x0000d6 page0 code 0x000800 program 0x000918 resetvec code 0x000e00 program 0x000008 ..config_2007_BUILD/DEFAULT/PRODUCTION/MAIN.O code 0x002007 program= 0x000002=20 gpr0 udata 0x000020 data 0x00002a=20 shr1 udata 0x000070 data 0x000002 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .