I'm going to write a series cpu emulator from real mode to protected mode, from single-core to multi-core, multi-core will have a different structure, so stay tuned.