Mercurial > vba-clojure
diff clojure/com/aurellem/gb/util.clj @ 247:22f58fa47c3c
starting work on unoptimized bootstrap script.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 26 Mar 2012 03:08:54 -0500 |
parents | fe26776e1a58 |
children | 69184558fcf3 |
line wrap: on
line diff
1.1 --- a/clojure/com/aurellem/gb/util.clj Sun Mar 25 22:33:17 2012 -0500 1.2 +++ b/clojure/com/aurellem/gb/util.clj Mon Mar 26 03:08:54 2012 -0500 1.3 @@ -47,7 +47,10 @@ 1.4 ([^SaveState state begin end] 1.5 (dorun (map 1.6 (fn [opcode line] 1.7 - (println (format "0x%04X: 0x%02X" line opcode))) 1.8 + (println (format "0x%04X: 0x%02X %s %d" 1.9 + line 1.10 + opcode (binary-str opcode) 1.11 + opcode))) 1.12 (subvec (vec (memory state)) begin end) 1.13 (range begin end))) 1.14 state)