Completed add, sub, cmp and jump simulations

This commit is contained in:
abdelrahman committed 2023-04-08 19:26:31 +01:00
1 parent 43c748e0c5
commit c320371432
10 files changed
+333 -10

No files matched your search

+17
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