mike would you like to provide some pbp code that demonstrates use of status register following pbp addition or subtraction


the status reg here is not in any way influenced by the subtraction result

i = byte

Code:
j=8
i=6
while j
status=1
i=i-1
s=status
debug 13,10,"status ",bin8 s ,"  i ",    dec i
j=j-1
wend

result


status 00011001 i 5
status 00011001 i 4
status 00011001 i 3
status 00011001 i 2
status 00011001 i 1
status 00011101 i 0
status 00011001 i 255
status 00011001 i 254