Brian Witzen

BIT assignments in HCS08 assembly

Discussion created by Brian Witzen on Sep 6, 2006
Latest reply on Sep 8, 2006 by bigmac
I need to assign a name to each bit in a byte variable.  I know how to do this in "C", but what about HC08 assembly?
 
ie,
 
Flags (variable byte)
flagbit0
flagbit1
flagbit2
.
.
flagbit7
 
Any suggestions would be greatly appreciated.
 
Thanks,
Brian

Outcomes