how i do make a simple CPU?
You need some basic things, the main ones are: an ALU (Addition and Logic unit) which takes inputs and an "opcode" to do different functions, like add, subtract, sometimes multiply, logic gates like XOR, and comparisons, and a helpful tidbit is flags to sort of describe its output, and you need a RAM (Random Access Memory) Which has memory cells addressable by an address bit, usually 4 bit for this simulator, and ability to either load that slot or write to that slot, and finally program Counter and memory (The built in ROM (Read Only Memory) Usually does the trick for program memory) which loads lines of code sequentially. Also that code is called assembly code, and I personally would rather drink a glass of nails, so try to plan out your code on paper