>-----Original Message----- >From: Jan-Erik Soderholm [mailto:jan-erik.soderholm@TELIA.COM] >Sent: 16 April 2004 12:49 >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC:] PIC/AVR PIC vs AVR (ATMEL) > > >Jim Tellier wrote : > >> > For registers yes, although RAM is still in blocks of 256 >and needs >> > the BSR instruction, which you could consider banking. > >Well, it depends on which instruction you use. > >The MOVFF instruction talkes two full 12 bit addresses to two >memory locations (SFR or GPR). And since one of them could be >"WREG", you can in effect load or save W from or to any RAM >location without using the BSR bits... > >Jan-Erik. And of course the FSR uses a 12bit address value so you can indirectly address a 4096byte block. Banking is generaly much less of an issue with the 18F. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= Any questions about Bookham's E-Mail service should be directed to postmaster@bookham.com. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads