From 45e71c9ff58b78a169b96d2c82466b0ba7912177 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Sun, 29 Apr 2012 12:26:08 +0200 Subject: [PATCH] fix spec_demo --- dcpu_16.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dcpu_16.py b/dcpu_16.py index 43b6562..fa3a446 100644 --- a/dcpu_16.py +++ b/dcpu_16.py @@ -579,9 +579,9 @@ spec_demo = [ 0x7c01, 0x0030, # SET A, 0x30 0x7fc1, 0x1000, 0x0020, # SET [0x1000], 0x20 0x7803, 0x1000, # SUB A, [0X1000] - 0xc012, # 0xc013 # IFE A, 0xF + 0xc413, # IFN A, 0x10 0x7f81, 0x001a, # SET PC, crash - 0x90c1, # 0xacc1 # SET I, 10 + 0xacc1, # SET I, 10 0x7c01, 0x2000, # SET A, 0x2000 # :loop 0x22C1, 0x2000, # SET [I + 0x2000], [A]