Yes, I put all my miscellaneous variables in bank 0. I put big buffers in the other banks and access them using FSRs. So, as yet, I have not needed to do any bank switching when writing 18 series code in ASM. When I first started writing ASM code for 18 series chips, I was specifying the access bit in the instruction. Turns out that the assembler figures that out for us, so it need not be specified. Nice! Almost as good as nonbanked memory! Harold > Dominic Stratten wrote: >> >> I removed all the bank switching code from the 16F asm file... > > Note that the 18F442 *does* have RAM banks, just different (and > much easier to use) then on the 16-series. > > But maybe you was all the time in Bank0 or used the "access bank" ? > > The "access bank" is perhaps on of the greatest things with the 18- > series. Access to 128 bytes RAM *and* ALL SFR's without any banking. > > Jan-Erik. -- FCC Rules Online at http://www.hallikainen.com/FccRules/ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.