In this case, you should use real type variables instead of integer type as follows. STICK OUT CX#,CY# INC X#,CX#*10 DEC Y#,CY#*10 SPOFS SPRITES%[0],X#,Y# If you don't write "OPTION DEFINT" on top of your program, variables don't need to be followed by "#"s.