| ??? 05/01/02 14:23 Read: times |
#22362 - RE: passing port pin (to Mahmood) |
You have to break the coding standards.
There is NO 8051 or 2 opcode to manipulate a bit indirectly. All bit functions have the bit to operate on included in the instruction. For example, Mov @R0,A ; byte move A into location R0 has NO equivalent bit-addressable equivalent MOVBIT @R0,A ; <INVALID OPCODE> To do what you want would require self-modifying code. |



