??? 03/22/07 12:45 Read: times |
#135575 - I think he did RTFM? Responding to: ???'s previous message |
Erik Malund said:
ANYHOW, we get these "can a bit be indirectly addressed" posts on a regular basis and my quoestion to Mariusz Sobkowiak is what is wrong with reading the manual It seems from his original post that he did read the manual and thus knew that there wasn't an instruction to do this directly: Mariusz Sobkowiak said:
Of course there is no command SETB @R0.
How to do it for any bit ? Effectively, "I know that the 8051 instruction set doesn't have an instruction to do it, so what is the best way using the available instructions?" |
Topic | Author | Date |
Bit addressing | 01/01/70 00:00 | |
Example | 01/01/70 00:00 | |
One way... | 01/01/70 00:00 | |
what is simple? | 01/01/70 00:00 | |
OH boy | 01/01/70 00:00 | |
this is FAR from my notion of self-modifying code. | 01/01/70 00:00 | |
self modifyeing code - definition | 01/01/70 00:00 | |
context, context, context... | 01/01/70 00:00 | |
where do you see that??? | 01/01/70 00:00 | |
Coding religion | 01/01/70 00:00 | |
I think he did RTFM? | 01/01/70 00:00 | |
you are right, sorry | 01/01/70 00:00 | |
How about using XOR function??![]() | 01/01/70 00:00 |