Defining 'a' as a BIT and then trying to stuff a value of 10 into it doesn't help!

LCDOUT $FE,2 isn't great in this situation either - the result will be a bit of a displayed mess...