taocp

taocp sandbox.
git clone git://git.ricketyspace.net/taocp.git
Log | Files | Refs

commit 81bcad7bcd4fdf11e4e571c2a13f434ff5c2e381
parent 0ce2e21faf47db7a29a7f054dabc70ad5064f243
Author: rsiddharth <s@ricketyspace.net>
Date:   Fri,  4 May 2018 22:04:38 +0000

mix: easter.mixal: Add program to print easter between 1950 - 2000.

Diffstat:
mix/1.3.2/easter.mixal | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/mix/1.3.2/easter.mixal b/mix/1.3.2/easter.mixal @@ -15,7 +15,13 @@ POUT ALF " 23 " ALF ", 20" ALF "28 " ORIG 1000 -START JMP DOE +START ENT2 1950 +LOOP CMP2 =2000= + JG STOP + ST2 0 + JMP DOE + INC2 1 + JMP LOOP STOP HLT * Date of Easter routine. Assumes Y is in address 0. * Routine using registers A, X and I1.