Added push20

This commit is contained in:
obscuren
2014-04-10 21:03:14 -04:00
parent afc92fb7d7
commit 25dd46061f
2 changed files with 12 additions and 14 deletions

View File

@ -251,7 +251,7 @@ func (m *Memory) Print() {
if len(m.store) > 0 {
addr := 0
for i := 0; i+32 <= len(m.store); i += 32 {
fmt.Printf("%03d %v\n", addr, m.store[i:i+32])
fmt.Printf("%03d: % x\n", addr, m.store[i:i+32])
addr++
}
} else {