summaryrefslogtreecommitdiff
path: root/CPU.h
diff options
context:
space:
mode:
authorleo <leo@azuminha.com>2023-12-18 14:34:08 -0300
committerleo <leo@azuminha.com>2023-12-18 14:34:08 -0300
commit0209e32e98b135a5a689a28e8db06880d29bbedf (patch)
tree2526e2f771200db3dc385d26327bffbf85f1561a /CPU.h
parent312f231d5d3b4523a5763eb01981885d0a66b8cd (diff)
branch opcodes
Diffstat (limited to 'CPU.h')
-rw-r--r--CPU.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/CPU.h b/CPU.h
index 4600621..5069ab3 100644
--- a/CPU.h
+++ b/CPU.h
@@ -49,7 +49,9 @@ uint16_t get_operand_address(struct CPU *cpu, enum adressing_mode mode);
void and(struct CPU *cpu, enum adressing_mode mode);
void enable_flag(struct CPU *cpu, uint8_t flag);
void disable_flag(struct CPU *cpu, uint8_t flag);
+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);
#endif \ No newline at end of file