From f121522cbd0adf02ed6b8e2dc56450d8289c2991 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 16 Oct 2025 12:09:23 +0200 Subject: checkpoint --- src/code/sim86.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/code/sim86.h') 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 -- cgit v1.2.3-70-g09d2