There is a lot of existing code here. Once a calling convention has been determined (see SDCC and existing AVR for any similarities), then register-specific information can be categorised by their roles in the calling convention.
[ ] Examine existing code.
[ ] Adjust registers to Game Boy specific registers.
There is a lot of existing code here. Once a calling convention has been determined (see SDCC and existing AVR for any similarities), then register-specific information can be categorised by their roles in the calling convention.