as far as pbp is concerned, if temp is a byte variable and temp=0, then temp-1 = 255.