With the Error 154 solved, I have now a few questions about the RAM banks in P12F629.LINKPIC. The RAM parts looks like this : SHAREBANK NAME=globalram START=0x20 END=0x2F PROTECTED //UDATA_SHR area of bank 0 SHAREBANK NAME=globalram START=0xA0 END=0xAF PROTECTED //aliased from bank 1 DATABANK NAME=bank0 START=0x30 END=0x5F //register bank 0 SECTION NAME=.udata_shr RAM=globalram //global memory mapped to all pages SECTION NAME=.BANK0 RAM=bank0 //for registers explicitly in bank 0 Now, to allocate RAM in .udata_shr, I can do : defram gbankadr my_var res 1 because "gbankadr" is declared in the INS file : gbankadr equ H'20' ;adr within globals bank But what about the .BANK0 bank starting at 0x30 ? I can't find any symbol to use with the DEFRAM macro. (There is a symbol called "BANK0ADR" with the value 0x00, which is the wrong address for .BANK0, not ?) What am I missing ? Should I define some other symbol with the value 0x30 to use as parameter to DEFRAM ? Jan-Erik. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body