diff --git a/InstructionSets/x86/Implementation/BCD.hpp b/InstructionSets/x86/Implementation/BCD.hpp index 26fd87056..2e6d77388 100644 --- a/InstructionSets/x86/Implementation/BCD.hpp +++ b/InstructionSets/x86/Implementation/BCD.hpp @@ -30,6 +30,8 @@ void aaas( --ax.halves.high; } context.flags.template set_from(1); + } else { + context.flags.template set_from(0); } ax.halves.low &= 0x0f; }