In message <3.0.3.32.19971125122009.00767b28@193.144.187.40> PICLIST@MITVMA.MIT.EDU writes: > At 05:53 25/11/97 -0500, you wrote: > >Can someone please tell me why I get asembly warning at the points marked > >with a ****** > >the code is a sample for a 16c63 and works fine > >All the equates are correctly assigned and I'm under the impression that this > >is an incorrect but operable way of doing what I want? > > > >start bsf status,rp0 ;switch to bank 1 > > movlw b'00000000' ;outputs > > movwf trisa ******** > > movwf trisb ******** > > bcf status,rp0 ;switch back to > bank 0 > > movlw b'00000000' ;all outputs low > > movwf porta > > > >Thank you Richard > >Rman@aol.com > > Hi, I think that the assembler is telling you just to remember that > 'trisa' and 'trisb' are in the bank 1, and the code is OK because you have > already set the RP0 bit. My last programm has 39 of these warnings! Adolpo and Richard, if you AND the tris register with 7fh the warnings disappear: movwf trisa & 7fh Regards, Mike Watson