On 2010-02-18 19:23, Richard Seriani wrote: > > ----- Original Message ----- > From: "ivp" > To: "Microcontroller discussion list - Public." > Sent: Wednesday, February 17, 2010 4:20 PM > Subject: Re: [PIC] ADCON1 and 0x06 > > >>> BANKSEL >> >>> We have not gone over that command in the class yet >> >> It will definitely help you to start using it now. I'm surprised it >> hasn't been mentioned to you already, because you'd expect >> to use it when initialising the chip >> >> eg BANKSEL PORTA, BANKSEL TRISA etc >> > > The reason many instructors teach the bank select bits is so the students > learn as much as possible about how the chip works before heading off into > the other (possibly easier) ways of doing things. If the goal is to only be > able to program the chip, they would just start with a higher level language > and skip a lot of this material. > > It sounds like the OP's class is one in which knowledge of the operation of > the microcontroller is at least one of the goals. If that is a good > assumption then, no, it won't help him to start using BANSEL now. > > Those who replied with explanations about RP0 and RP1 obviously learned it > that way as some point. Maybe by desire; maybe by necessity. > Maybe simply by reading the few lines of description about BANKSEL in the MPASM manual. Using BANKSEL does not in any way imply that you do not know what it does. And teaching to use BANKSEL does not in any way exclude that you also teach what it does. > > Richard > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist