]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - insn_incdec_reg8.v
Latest shit, I can't remember
[fpgaboy.git] / insn_incdec_reg8.v
index 61464f68de903b31415638c4826d9701d0d59101..58582b60dc9d00cb909061e063d682a9254f2339 100644 (file)
@@ -26,7 +26,7 @@
                `INSN_reg_L:    `_L <= tmp + (opcode[0] ? 8'hFF : 8'h01);
                endcase
                `_F <= {
-                               (tmp + (opcode[0] ? 8'hFF : 8'h01)) ? 1'b0 : 1'b1,
+                               ((tmp + (opcode[0] ? 8'hFF : 8'h01)) == 8'h00) ? 1'b1 : 1'b0,
                                1'b0,
                                (({1'b0,tmp[3:0]} + (opcode[0] ? 5'h1F : 5'h01)) >> 4) ? 1'b1 : 1'b0,
                                `_F[4:0]};
This page took 0.026936 seconds and 4 git commands to generate.