Bit-reverse a byte on 68HC12

前端 未结 9 1718
挽巷
挽巷 2021-01-18 02:03

I\'m in a microprocessors class and we are using assembly language in Freescale CodeWarrior to program a 68HCS12 micro controller. Our assignment this week is to revers a by

9条回答
  •  醉酒成梦
    2021-01-18 02:51

    Consider two registers as stacks of bits. What happens if you move one bit at a time from one to another?

提交回复
热议问题