matbob
Full Member level 2
Mirroring a byte in 8051
Hi,
Can anyone help me on mirroring a byte in 8051.
For example if a register contains: 10011011
then mirroring should give: 11011001
ie: 7th and 0th bits swapped, 6th and 1st bit swapped and so on.
Hi,
Can anyone help me on mirroring a byte in 8051.
For example if a register contains: 10011011
then mirroring should give: 11011001
ie: 7th and 0th bits swapped, 6th and 1st bit swapped and so on.