Have you defined all the variables? ie:

B0 VAR BYTE
B1 VAR BYTE
etc

... or included the appropriate 'include' file for Basic Stamp compatibility?

Arch