I just found out the hard way(almost an hour of debugging in the simulator) that if you use W as the source register for the RRF and RLF instructions, the microcontroller does something really strange. Just letting everyone know in case someone else run into this problem as well. The source register has to be something other than W for these rotating instructions to work properly.
Tags:
© 2024 Created by PML. Powered by