Guys and Gals (well Gal, anyway..) How do you folks handle defining bits, so that you can use SBRS/SBRC and SBR/SBR instructions in a sane manner? I find the notation confusing, as one is set BITS in register, and the other is skip if BIT. What I would like to do, is define a port with names for all the bits, and to use those names everywhere. I know I can do something like SBR (1<<Latch),(1<<Select) but that's a bit clunky. I'd really like to be able to define "latch" as 6 and 1<<6... I'm hoping one of you has hit a clever solution for this.
Message
Assembler Notation
2004-02-02 by Dave VanHorn
Attachments
- No local attachments were found for this message.