diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-10-16 12:09:23 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-10-16 12:09:23 +0200 |
| commit | f121522cbd0adf02ed6b8e2dc56450d8289c2991 (patch) | |
| tree | c2bed8b88449756bb38f70ecd688d570c2306c5c /src/code/sim86.h | |
| parent | 7fd4a8d8627b7cd7044b390751eda66208edf1eb (diff) | |
checkpoint
Diffstat (limited to 'src/code/sim86.h')
| -rw-r--r-- | src/code/sim86.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/code/sim86.h b/src/code/sim86.h index 3ed472e..4778573 100644 --- a/src/code/sim86.h +++ b/src/code/sim86.h @@ -37,17 +37,17 @@ enum register_mapping_8086 enum flags_8086 { - Flag_Carry, - Flag_Parity, - Flag_AuxiliaryCarry, - Flag_Zero, - Flag_Sign, - Flag_Overflow, - Flag_Interrupt, - Flag_Direction, - Flag_Trap, - Flag_Count + Flag_None = 0, + Flag_Carry =(1 << 0), + Flag_Parity =(1 << 1), + Flag_AuxiliaryCarry =(1 << 2), + Flag_Zero =(1 << 3), + Flag_Sign =(1 << 4), + Flag_Overflow =(1 << 5), + Flag_Interrupt =(1 << 6), + Flag_Direction =(1 << 7), + Flag_Trap =(1 << 8), + Flag_Count = 11, }; - #endif //SIM86_H |
