jsmolka / gba-tests

A collection of Game Boy Advance tests.
MIT License
101 stars 9 forks source link

Add tests for STMDB/STMIB with empty Rlist #2

Closed Ankeraout closed 4 years ago

Ankeraout commented 4 years ago

Expected results (tested on real hardware):

jsmolka commented 4 years ago

@Ankeraout I think these tests already cover empty rlists in block transfer.

Ankeraout commented 4 years ago

They cover STMIA and LDMIA but not STMDB and STMIB. We've discovered that at least 2 emulators (NanoboyAdvance and AmazinglyAdvanced) failed these 2 tests, while passing gba-suite's ARM test.

jsmolka commented 4 years ago

My emulator fails them aswell. I'll take a look at it during the weekend and add them to the test suite.

jsmolka commented 4 years ago

@Ankeraout I fixed the issue and added an additional test. Here is a short summary:

I'll take a look at the loads with empty rlist now and see if I missed something there.