From 0209e32e98b135a5a689a28e8db06880d29bbedf Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 18 Dec 2023 14:34:08 -0300 Subject: branch opcodes --- CPU.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CPU.h') 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 -- cgit v1.2.3