cpu/arm: fix single data transfer

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-06-11 23:28:27 +05:30
parent 1a2e101ebd
commit 441665abad
2 changed files with 2 additions and 6 deletions

View File

@@ -319,9 +319,9 @@ TEST_CASE_METHOD(CpuFixture, "Single Data Transfer", TAG) {
exec(data);
CHECK(bus.read_word(0x300352A - 2 * INSTRUCTION_SIZE) == 61119);
CHECK(bus.read_word(0x300352A) == 61119);
// 0x300352A - 0xDA1
CHECK(getr(15) == 0x3002789 - 2 * INSTRUCTION_SIZE);
CHECK(getr(15) == 0x3002789);
// cleanup
data_transfer->rn = 7;