18 lines
241 B
C
18 lines
241 B
C
#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
|