Hi,
That just looks wrong....What's it supposed to do?
I don't think you should use square brackets "inside" the actual statement, only enclosing it - and perhaps there's a missing comma?
Code:
HSEROUT [hex2 S, (((L-1)*8)+cnt)]
But again, not easy to say withoyt knowing what's it supposed to do.

/Henrik.