add opcodes from before
[swap_emu.git] / cpu / cpu.h
blob4dcf50243a24634d6f9c3823580065852b910085
1 /* CPU Status flags */
2 uint64_t N; //Negative
3 uint64_t Z; //Zero
4 uint64_t C; //Carry (or Unsigned Overflow)
5 uint64_t V; //Overflow (Signed)
6 uint64_t opcode;
7 uint64_t PC; //Program Counter
8 int isRunning;
9 uint64_t *mem; //Memory
11 void start_cpu(); //Start emulating the CPU
12 void stop_cpu(); //Stop emulating the CPU
13 void interpret(uint64_t opcode); /* emulate opcode */