Skip to content

Commit

Permalink
Exodus I
Browse files Browse the repository at this point in the history
  • Loading branch information
amukh1 committed Nov 15, 2024
1 parent 4a30e30 commit 1bf0cf1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ struct Memory {


struct CPU {
WORD PC = 0xFFFC;
BYTE SP = (BYTE) 0;
BYTE A, X, Y;
WORD PC = 0xFFFC; // program counter
BYTE SP = (BYTE) 0; // stack counter
BYTE A, X, Y; // registers
// _BIT CF, ZF, ID, DM, BC, OF, NF, _BRK;
_BIT N, V, BR, B, D, I, Z, C;
_BIT N, V, BR, B, D, I, Z, C; // flags

int Cycle = 0;

Expand Down

0 comments on commit 1bf0cf1

Please sign in to comment.