Parts first and second .
The emulator of the processor is 8080
The shell of the emulator
Now you need to have all the necessary knowledge to start creating the 8080 emulator.
I will try to make my code as clear as possible, each opcode is implemented separately. When you get comfortable with it, you might want to rewrite it to optimize performance or reuse the code.
For starters, I'll create a memory structure that will contain fields for everything I thought was necessary when writing a disassembler. There will also be a space for the memory buffer, which will represent ...[/h][/h]