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.

Views: 28

Reply to This

© 2017   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service