Expand description
Rung 1, the arithmetic tables: ADC’s and SBC’s result and flags for every
pair of operands, binary and decimal, under both decimal formulas, as one
digest a line. scripts/reference_alu.py prints the same from the
reference’s _alu.add and _alu.subtract; the two outputs are compared.
aluConstants§
- P_
VALUES 🔒 - P values that cover C and D both ways, with the other flags clear and set.
Functions§
- main 🔒