im sorry to say there are quite a few problems with your program.
all 11 lines with decimal numbers are invalid. This includes the lines where you multiply by 0.5 and the lines which include 1.5. As Melanie said, PBP only deals with integers.
in one of the lines you divide something by negative 255, however PBP does not support signed variables.
you may want to make some more variables words instead of bytes becuase it looks like some of your variables may overflow
Bookmarks