diff options
author | leo <leo@azuminha.com> | 2023-12-18 14:34:08 -0300 |
---|---|---|
committer | leo <leo@azuminha.com> | 2023-12-18 14:34:08 -0300 |
commit | 0209e32e98b135a5a689a28e8db06880d29bbedf (patch) | |
tree | 2526e2f771200db3dc385d26327bffbf85f1561a /CPU.h | |
parent | 312f231d5d3b4523a5763eb01981885d0a66b8cd (diff) |
branch opcodes
Diffstat (limited to 'CPU.h')
-rw-r--r-- | CPU.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |