mirror of
https://github.com/tuz358/cpu-emulator.git
synced 2025-12-18 21:14:35 +03:00
Add int get_flag(uint32_t flag_type) function
This commit is contained in:
@@ -11,6 +11,7 @@ class Instructions{
|
||||
private:
|
||||
void init_instructions();
|
||||
void set_flag(int flag, uint32_t flag_type);
|
||||
int get_flag(uint32_t flag_type);
|
||||
public:
|
||||
Memory memory;
|
||||
uint32_t registers[8]; // eax, ecx, edx, ebx, esp, ebp, esi, edi
|
||||
|
||||
Reference in New Issue
Block a user