From c6b311b84ab56643bcbdd66c1233fc5d19d0c061 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 6 Oct 2023 11:10:54 -0400 Subject: [PATCH] Explain source of comments. --- .../x86/Implementation/PerformImplementation.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/InstructionSets/x86/Implementation/PerformImplementation.hpp b/InstructionSets/x86/Implementation/PerformImplementation.hpp index eb879db40..09c49cbaf 100644 --- a/InstructionSets/x86/Implementation/PerformImplementation.hpp +++ b/InstructionSets/x86/Implementation/PerformImplementation.hpp @@ -55,6 +55,14 @@ IntT overflow(IntT lhs, IntT rhs, IntT result) { // END COPY AND PASTE SECTION. // +// +// Comments below on intended functioning of each operation come from the 1997 edition of the +// Intel Architecture Software Developer’s Manual; that year all such definitions still fitted within a +// single volume, Volume 2. +// +// Order Number 243191; e.g. https://www.ardent-tool.com/CPU/docs/Intel/IA/243191-002.pdf +// + void aaa(CPU::RegisterPair16 &ax, Status &status) { /* IF ((AL AND 0FH) > 9) OR (AF = 1)