| ??? 07/22/03 16:46 Read: times |
#51133 - RE: Boolean Variable Manipulation Responding to: ???'s previous message |
Yes you have got the Bit and Byte stuff nicely mixed up! Suggest read again the set of instructions that are classified as boolean variable manipulations.
When plenty of RAM is available and heavy bit logic (AND/OR/XOR etc) is required, I sometimes resort to using bytes for bits" instead of sbit x to a bit I do mov x,#1 to a byte. This is, of course wasteful (7 bits of every RAM byte lost) but it can lead to very efficient boolean code since all logical operations are available. Erik |



