diff options
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 |