I get a litlle bit confuse with that, if you want to use it, you MUST be sure that "GetMask" is in a PCL lower than 248... otherwise if PCL = 250, and w = 7 after ADD PCL = 2. Am I wrong? Regards, Gonzalo ----- Mensaje original ----- De: "Michael Rigby-Jones" Para: Enviado: Viernes, 04 de Mayo de 2001 08:00 Asunto: Re: [PIC]:a newbie mpasm question | GetMask: | addwf PCL,f | retlw B'00000001' | retlw B'00000010' | retlw B'00000100' | retlw B'00001000' | retlw B'00010000' | retlw B'00100000' | retlw B'01000000' | retlw B'10000000' -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.