changeset 295:d35683bfc15f

dylan thought of a better program using op 0x70.
author Robert McIntyre <rlm@mit.edu>
date Fri, 30 Mar 2012 18:25:02 -0500
parents 9f466a332448
children 659a9c84c785
files clojure/com/aurellem/exp/notes.txt
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/exp/notes.txt	Fri Mar 30 18:15:28 2012 -0500
     1.2 +++ b/clojure/com/aurellem/exp/notes.txt	Fri Mar 30 18:25:02 2012 -0500
     1.3 @@ -87,13 +87,13 @@
     1.4  0x21  ;; load target into HL
     1.5  
     1.6  third rival's name character
     1.7 -xD5           -- target item address
     1.8 +xD5     -- target item address
     1.9  
    1.10  0x00
    1.11  0x2A  ;; save (HL)=(target) to A, increment HL
    1.12  
    1.13  0x00
    1.14 -0x78  ;; save A to B
    1.15 +0x47  ;; save A to B
    1.16  
    1.17  0x00
    1.18  0x3A  ;; save (target+1) to A, decrement HL
    1.19 @@ -102,10 +102,7 @@
    1.20  0x22  ;; save A to target, increment HL [(target+1) -> target]
    1.21  
    1.22  0x00
    1.23 -0x78  ;; load B to A
    1.24 -
    1.25 -0x00
    1.26 -0x77  ;; load A into target+1 [(target) -> target+1]
    1.27 +0x70  ;; load B into target+1 [(target) -> target+1]
    1.28  
    1.29  
    1.30