> From: Donovan Parks [mailto:dparks@UVIC.CA] > Sent: Monday, October 07, 2002 2:05 PM > However, if I try to move more variables to bank1 (5 or less > depending on > exactly what variables I choice) the compiler fails when linking: > > The instruction at 00404ace referenced memory at 00000000 > The memory could not be read fromEnter PICC -HELP for help > Serial number: HCPIC-14658 > Licensed to : DONOVAN PARKS I think this reference to NULL is a problem with the latest compilers. My guess is that it happens when the linker should issue an error. I got it while I was using PICC18 Compiler V8.20PL1. In my case, it was because I tried to place code in an invalid memory location. Since you got the error after moving something to bank1. Is it possible that you have cause some kind of fixup error. Was one of your 5 variables moved from bank0 pointed to by something that can't point to a bank1 variable? -Mike -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body