Jack Smith wrote: > Swordfish BASIC compiled for an 18F452: > > > > If PIR1.5 = 0 Then > //inner code > EndIf > > END > > produces > > ORG 0X00 > GOTO SBCDSTD > ORG 0X08 > SBCDSTD > BSF 24,6,0 > SBGLB2 > SLEEP > BRA SBGLB2 > > > Jack That is, nothing. Try actually putting some code inside the if; it probably optimized it out. My guess is it will do it right and use btfss. -- Hector Martin (hector@marcansoft.com) Public Key: http://www.marcansoft.com/marcan.asc -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist