diff options
author | rsiddharth <s@ricketyspace.net> | 2018-04-26 22:10:29 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-04-26 22:10:29 +0000 |
commit | 0819ecebf6b6e45545c14a7e52bc76cc691e61b8 (patch) | |
tree | c3e14e66c0c997b55d4f1ac1c0ecb18c3e6f9ace /mix | |
parent | 4a10c6b7a6768245be24fe87bc304f1f388a0bf4 (diff) |
mix/1.3.2/easter.mixal: Do penultimate step.
Diffstat (limited to 'mix')
-rw-r--r-- | mix/1.3.2/easter.mixal | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mix/1.3.2/easter.mixal b/mix/1.3.2/easter.mixal index 72fe2ee..1b29d63 100644 --- a/mix/1.3.2/easter.mixal +++ b/mix/1.3.2/easter.mixal @@ -61,5 +61,13 @@ STRE STX E JGE STRN INCA 30 STRN STA N + LDA D Penultimate step. + ADD N + SRC 5 Move value to reg. X from reg. A. + ENTA 0 Clear reg. A + DIV =-7= + SLC 5 Move value to reg. X from reg. X + ADD =7= + ADD N STOP HLT END START |