Latest shit, I can't remember
[fpgaboy.git] / insn_incdec_reg8.v
index 61464f6..58582b6 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.016759 seconds and 4 git commands to generate.