Couple of small increment/decrement changes

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-02-07 00:08:23 +00:00
parent e66525e45f
commit 6d15b91054

View File

@ -854,11 +854,11 @@ namespace EightBit
this.P = ClearFlag(this.P, StatusBits.CF, Chip.HighByte(this.intermediate));
}
private byte DEC(byte value) => this.Through(value - 1);
private byte DEC(byte value) => this.Through(--value);
private byte EorR(byte operand, byte data) => this.Through(operand ^ data);
private byte INC(byte value) => this.Through(value + 1);
private byte INC(byte value) => this.Through(++value);
private void JSR()
{