I'm a bit confused here, the only error I see is when you put a ram address into a constant and then 'back' into a data statement. I don't know of any compiler that could handle such a thing.
When you used the "word dta ..... (varC+1)" format you got the right address didn't you?
When you used the "word dta ..... (varC+1)" format you got the right address didn't you?
Comment