Hi,
I think perhap this might have something to do with it:
Code:
fStep var byte     ; for step routine (later)
fcount var byte
Counter var word
num var byte
digitpos var byte        
top var word
x var byte
The way you're using Counter in the code is as an array and it needs to be declared as such
Code:
Counter VAR BYTE[4]   'Four byte array, Counter[0]...[3]
/Henrik.