I thought it would be useful to open a thread for information exchange about programme gameboy advance emulators.
And there I go with my first question
I'm currently writing the function that decodes thumb instructions. Currently I have to approaches for executing and decoding those instructions:
1. Decode opcode information to an struct at corresponding decode stage of the pipeline and execute it with the information from the struct at execution stage.
This approach would strictly follow the rules of pipelining. Also this is my current approach
2. Do nothing at instruction corresponding decode stage and do both decoding and execution at the execution stage.
What do you think would be better for my emulator?
This is my current code:
ldr r0, =0x080000E1