4 ms·
On a CPU with 8- or even 16-bit instructions, if at all possible (I don't know much about AVR8) it's probably better to use jump tables than to try to decode bi
by wk_end 2y ago
On a CPU with 8- or even 16-bit instructions, if at all possible (I don't know much about AVR8) it's probably better to use jump tables than to try to decode bit-wise when emulating I think.
- PaulHoule 2y agoI’ve thought about making an AVR-8 emulator in AVR-8 assembly language that would let me run tiny programs out of RAM where the emulator (host) would use some of the registers and the others would be be available to the guest. This way you could upload a function over the serial port and run it. I figured it would be a good way to really master AVR-8 assembly. The ESP32 has a huge amount of potential for emulating other things, see https://github.com/breakintoprogram/agon-vdp https://github.com/breakintoprogram/agon-vdp For a display controller implemented for ESP32.