Gate off vraminuse, oaminuse, etc with wehther the LCD is powered on. Make sure to...
[fpgaboy.git] / insn_incdec_reg8.v
index 78f8b5a..61464f6 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.016757 seconds and 4 git commands to generate.