now what is the meaning of placing $ sign here.there should be a label,to which we want to jump after checking the bit but there is no such label in the code...
jb means "jump if bit set"
$ means "same location where code rest in code memory
jb 'any bit of 8051',$
test the bit "any bit of 8051" if bit is set stay here else next statement