1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Explain source of comments.

This commit is contained in:
Thomas Harte 2023-10-06 11:10:54 -04:00
parent 28c7d27cac
commit c6b311b84a

View File

@ -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 Developers 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)