Olin Lathrop wrote : > > If you only have data in bank 0 and 1, you could set BSR = 1 and > > access all your data *and* the SFR's without ever changing > > the BSR again ! > > Actually first half of bank 0 and all of bank 1. Yes, on the 18F252, not on all 18F's... (Some uses less then the first half of bank 0 for the access bank...) > > *And* if you just setup your symbolic names of > > your variables using full 12-bit addresses, > > It is much better to use UDATA_ACS to tell the linker to > put your variables in the access bank. *If* the linker is used, yes. :-) > Hard coded addresses are not recommended. As is crossing the street on red light, but some does that anyway. No harm in telling them how to do that safely, if they still want to, is there ? :-) :-) Now, it's half past midnight, good night ! Jan-Erik. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads