]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - insn_incdec_reg8.v
Diag rom now runs from bootloader!
[fpgaboy.git] / insn_incdec_reg8.v
index 78f8b5a99dd315a645662d4ba484e59441af2d85..61464f68de903b31415638c4826d9701d0d59101 100644 (file)
                `INSN_reg_H:    `_H <= tmp + (opcode[0] ? 8'hFF : 8'h01);
                `INSN_reg_L:    `_L <= tmp + (opcode[0] ? 8'hFF : 8'h01);
                endcase
+               `_F <= {
+                               (tmp + (opcode[0] ? 8'hFF : 8'h01)) ? 1'b0 : 1'b1,
+                               1'b0,
+                               (({1'b0,tmp[3:0]} + (opcode[0] ? 5'h1F : 5'h01)) >> 4) ? 1'b1 : 1'b0,
+                               `_F[4:0]};
        end
 `endif
This page took 0.161216 seconds and 4 git commands to generate.