diff options
author | leo <leo@azuminha.com> | 2024-03-18 21:21:20 -0300 |
---|---|---|
committer | leo <leo@azuminha.com> | 2024-03-18 21:21:20 -0300 |
commit | 1cffb789b5d258c3d6fced0fb949f068b1b23bae (patch) | |
tree | 069aa9dc20433c38893cc4354cab63d626415708 /CPU.h | |
parent | 21bb49029a4a30c80714a4b05193e1ba58117d5a (diff) |
CLC
CLD
CLI
CLV
CMP
CPX
CPY
Diffstat (limited to 'CPU.h')
-rw-r--r-- | CPU.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,6 @@ #ifndef _CPU #define _CPU +#include <stdint.h> #define CARRY 0b00000001 #define ZERO 0b00000010 @@ -53,5 +54,7 @@ int test_flag(struct CPU *cpu, uint8_t flag); void asl(struct CPU *cpu, enum adressing_mode mode); void branch(struct CPU *cpu, bool cond); +void compare(struct CPU *cpu, enum adressing_mode mode, uint8_t comp_val)); + #endif
\ No newline at end of file |