I'm trying to convert MOVFF 0x10, 0x15
to machine code. The Microcontroller is Microchip PIC 18F1220. The reference manual says:
MOVFF fs,fd
Encoding:
1st word: 1100 ffff ffff ffffs
2nd word: 1111 ffff ffff ffffd
The solution is:
1100 0000 0010 0000
1111 0000 0010 0101
But the solution I'm getting is
0x10 = 0001 0000
0x15 = 0001 0101
1100 0000 0001 0000
1111 0000 0001 0101
Can you please explain me how to get the right answer?
Thank you