OSDN Git Service

bne bug fixed.
authorastoria-d <astoria-d@mail.goo.ne.jp>
Wed, 19 Jun 2013 07:18:58 +0000 (16:18 +0900)
committerastoria-d <astoria-d@mail.goo.ne.jp>
Wed, 19 Jun 2013 07:18:58 +0000 (16:18 +0900)
simulation/cpu/decoder.vhd

index 18a9899..1648869 100644 (file)
@@ -1344,7 +1344,7 @@ end  procedure;
                     d_print("bmi");
                 elsif instruction = conv_std_logic_vector(16#d0#, dsize) then
                     d_print("bne");
-                    a58_branch (st_Z, '0');
+                    a58_branch (st_Z, '1');
 
                 elsif instruction = conv_std_logic_vector(16#10#, dsize) then
                     d_print("bpl");