Michael Rigby-Jones wrote: > >> -----Original Message----- >> From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >> On Behalf Of Jan-Erik Soderholm >> Sent: 16 October 2007 13:50 >> To: Microcontroller discussion list - Public. >> Subject: Re: [PIC] movff ignores banksel, correct? >> >> >> >> >>> and since the access bank is not being used here,... >> I think it is. >> To use the BSR, the machine inst for ADDWF "2400" would have >> been "2500". The difference is the "a" bit. a = "0" => access bank. >> And the "MOVWF _SSPBUF" also uses the access bank, so it weird... > > Oops, you are absolutely correct, I was thinking the access bit worked the other way around. On closer inspection the address of all registers is zero, so I guess this assembly listing is probably directly from the compiler, before the link stage so no addresses have been resolved. > > Regards > > Mike Right, and the question is id the linker does anything with the "a" bit also... :-) Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist