We were not aligning the address when reading/writing word.
Also, I noticed that when reading a misaligned address we should rotate the value so that the selected byte ends in bits 0-7 of the destination register.
Source:
We should do the same for ARM as well. But we can wait until we run the ARM tests
We were not aligning the address when reading/writing word. Also, I noticed that when reading a misaligned address we should rotate the value so that the selected byte ends in bits 0-7 of the destination register.
Source:
We should do the same for ARM as well. But we can wait until we run the ARM tests