On Fri, 18 Dec 1998, Paul B. Webster VK2BZC wrote: > > Message[302] D:\DAQ 34 : Register in operand not in bank 0. Ensure > > that bank bits are correct. > > > bcf STATUS, RP0 > > clrf PORTB > > BSF STATUS, RP0 > > movlw h'0' > > movwf TRISB <-------warning points here. > > You *have* ensured the bank bits are correct; the warning is invalid. Ok..so its basically tellin me I am going to reconfig it, or just plain config it in this case, and to check and make sure its correct, right? > You can 1} ignore it. 2} specify "TRISB^0x80" you mean in the beginning where i define my variables, right? as in TRISB equ 0x08 Please forgive me, I am very new to this, and just didnt want to ignore things I didnt understand:) > > Warning[202] D:\DAQ 42 : Argument out of range.Least significant bits > > used. > > Warning[202] D:\DAQ 43 : Argument out of range.Least significant bits > > used. > > Warning[202] D:\DAQ 45 : Argument out of range.Least significant bits > > used. > > > 41 call SetupDelay ;setup time >= 10uS. > > 42 bcf ADCON0,adif ;clear int flag > > 43 bsf ADCON0,adgo ;start new conversion > > loop > > 44 btfsc ADCON0,adif ;a/d done? > > 45 goto update ;yes then update new value. > > 46 goto loop ;no then keep checking > > That doesn't make sense. Line 45 couldn't have this error but line > 44 could - have you mis-typed the quote? Suspect you have defined adif > and adgo as masks rather than bit positions as they must be for this > construct. you're right...on the line number thing..could you explain what you are saying a little more...I understand what you mean when you say it has to be a bit position, but if I defined them as a mask, it was inintentional since i dont know what a mask is.:) Thanks again ----------------------------------------------------------------------- The Pinto Page: www.eng.usf.edu/~shidel Join the Ford Turbo Mailing List! http://www.FindMail.com/list/turbo/ Scott -71 Pinto, stock 2.3 turbo, 13.67@98, radials 8.1@85 1/8th mile on slicks -85 Merkur 13.764@98 on radials&3300lbs! Under $300 in mods! ------------------------------------------------------------------------