In the MPASM guide this bit is called the "a" bit, right? Like in "DECF f, d, a", not? And the guide also says: RAM access bit a =3D 0: RAM location in Access RAM (BSR register is ignored) a =3D 1: RAM bank is specified by BSR register (default) Not fully clear what "default" relates to here... Jan-Erik. -----Ursprungligt meddelande----- Fr=E5n: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] F=F6r Pete= r Onion Skickat: den 18 november 2016 13:01 Till: Microcontroller discussion list - Public. =C4mne: [PIC] Moving code from gpasm to mpasmx I'm returning to PIC programming after a break of a few years (mostly playing with Raspberry Pis). I've just installed MPLABX and so far it's been a positive experience. The one thing I'm not sure about is this.... My old gpasm code has lots of instructions which explicitly set the "B" bit for variables in banked memory. Apart from MPLABX using "BANKED" rather than just "B", it seems from the bits of test code I've written that explicitly setting the banked bit is no longer required as the assembler (or linker?) can set it when it sees memor= y addresses in instructions which are not in the access bank. Have I got this right ? PeterO =20 -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/chang= e your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .