Fix some carry-related bugs and a typo in insn_alu_a.
[fpgaboy.git] / core / insn_alu_a.v
index 14ccd76..a5e1c1c 100644 (file)
@@ -32,7 +32,7 @@
                        `_F <= {`_F[7:5],`_A[7],`_F[3:0]};
                end
                `INSN_alu_RRA: begin
-                       `_A <= {`_A[4],`_A[7:1]};
+                       `_A <= {`_F[4],`_A[7:1]};
                        `_F <= {`_F[7:5],`_A[0],`_F[3:0]};
                end
                `INSN_alu_CPL: begin
This page took 0.016389 seconds and 4 git commands to generate.