| ??? 03/25/06 15:12 Read: times |
#113064 - Not quite. Responding to: ???'s previous message |
as per my example:
I've put 6 into r4 now accordingly I want to set bit 6 in the A register. i.e. "setb A.R4" Currently i just have it jump to a series of "cjne" statements that have the "setb" commands in sequence: set_bit: cjne r4,#7,set_b_6 setb a.7 jmp set_b_r set_b_6: cjne r4,#6,set_b_5 setb a.6 jmp set_b_r . . . set_b_0: setb a.0 set_b_r: ret |
| Topic | Author | Date |
| setb command | 01/01/70 00:00 | |
| You mean? | 01/01/70 00:00 | |
| Not quite. | 01/01/70 00:00 | |
| what about | 01/01/70 00:00 | |
| what about | 01/01/70 00:00 | |
| what about | 01/01/70 00:00 | |
| lookup/jumptable | 01/01/70 00:00 | |
| what I thought | 01/01/70 00:00 | |
| Shift register. | 01/01/70 00:00 | |
| chapter 2 | 01/01/70 00:00 | |
| Indirect bit referencing | 01/01/70 00:00 | |
| OK | 01/01/70 00:00 | |
| Not Necessarily ... | 01/01/70 00:00 | |
| well, you got one, now for the rest | 01/01/70 00:00 | |
| using bits indirect | 01/01/70 00:00 | |
indirect bits | 01/01/70 00:00 |



