# HG changeset patch # User Robert McIntyre # Date 1333149902 18000 # Node ID d35683bfc15f0a830e58cb2a37d11d3f947aa2a9 # Parent 9f466a332448c2effd98c62b31bd23a57e3cf0ee dylan thought of a better program using op 0x70. diff -r 9f466a332448 -r d35683bfc15f clojure/com/aurellem/exp/notes.txt --- a/clojure/com/aurellem/exp/notes.txt Fri Mar 30 18:15:28 2012 -0500 +++ b/clojure/com/aurellem/exp/notes.txt Fri Mar 30 18:25:02 2012 -0500 @@ -87,13 +87,13 @@ 0x21 ;; load target into HL third rival's name character -xD5 -- target item address +xD5 -- target item address 0x00 0x2A ;; save (HL)=(target) to A, increment HL 0x00 -0x78 ;; save A to B +0x47 ;; save A to B 0x00 0x3A ;; save (target+1) to A, decrement HL @@ -102,10 +102,7 @@ 0x22 ;; save A to target, increment HL [(target+1) -> target] 0x00 -0x78 ;; load B to A - -0x00 -0x77 ;; load A into target+1 [(target) -> target+1] +0x70 ;; load B into target+1 [(target) -> target+1]