On 3/24/25 18:07, Pierrick Bouvier wrote:
A simple nit, maybe we could define constant for register names. This way, it can be used in the two switch for read/access.
Which constant? - The absolute address (0x58-0x5f) - The i/o port address (0x38-0x3f) - or the region offset (0-7) ? That's where I got stuck and didn't add such.
By the way, are there other architectures where cpu registers are mapped in memory like AVR?
Not that I know of. r~