| ??? 05/10/02 10:33 Read: times |
#22804 - RE: Bit Ordering |
I have written this (not debugged yet)
any improvements on it //Shift the bits to the order that we want ControlInputs = (InputState & 0x80) >> 7; //shift from Bit 7 to Bit 0 ControlInputs |= (InputState & 0x08) >> 2; //shift from Bit 3 to Bit 1 ControlInputs |= (InputState & 0x04); //no shift needed already in the correct posn Regards Marshall |
| Topic | Author | Date |
| Bit Ordering | 01/01/70 00:00 | |
| RE: Bit Ordering | 01/01/70 00:00 | |
| RE: Bit Ordering | 01/01/70 00:00 | |
| RE: Bit Ordering | 01/01/70 00:00 | |
| RE: Bit Ordering | 01/01/70 00:00 | |
| RE: Bit Ordering | 01/01/70 00:00 | |
| RE: Bit Ordering | 01/01/70 00:00 | |
| to Andy | 01/01/70 00:00 | |
| RE: Bit Ordering Assembler | 01/01/70 00:00 | |
| RE: to Andy | 01/01/70 00:00 | |
RE: Bit Ordering | 01/01/70 00:00 |



