RIP-Comm / clementine

Gameboy Advance emulator.
MIT License
49 stars 13 forks source link

`spsr` and register bank #121

Closed AlessioC31 closed 1 year ago

AlessioC31 commented 1 year ago

This work is preliminary to implementing PSR instructions and to fix all the instructions already implemented to take into account spsr registers in some specific cases

I'm not 100% sure the idea I came up with the RegisterBank is the best one, we can discuss it here and in any case, we'll see once we'll start using this machinery :D

Documentation: http://bear.ces.cwru.edu/eecs_382/ARM7-TDMI-manual-pt1.pdf pages from 3-4 to to 3-10 (except THUMB sections)