In article <01BCBDF1.BDF131C0@ifs-greenm.sybase.com>, "Martin R. Green" writes >Because: > > goto $ ; this is a continuous loop, hence > goto $-1 ; jumps to btfss port,anotherbit > goto $-2 ; jumps to goto action > goto $-3 ; jumps to btfsc port,bit > >So there! ;-) >>> > btfsc port,bit >>> > goto action >>> > btfss port,anotherbit >>> > goto $-3 >>> >>> shouldn't that read $-4 if you want it to jump to btfsc port,bit ? >> >> No. >> so in other words, the $ symbol really means 'the current line' not the program counter ('cause the program counter is pointing to the next instruction) Jim -- Jim Main