Completed add, sub, cmp and jump simulations

This commit is contained in:
2023-04-08 19:26:31 +01:00
parent 43c748e0c5
commit c320371432
10 changed files with 333 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
#ifndef FLAG_ACCESS_H
#define FLAG_ACCESS_H
#include "aliases.h"
enum flag_access : u8 {
FLAG_ZERO,
FLAG_SIGN,
FLAG_COUNT
};
bool get_flag(flag_access flag);
void set_flags(u16 value);
void print_flags();
#endif // !FLAG_ACCESS_H