private void dec(IRegister <byte> r) { r.Dec(); F.Value = (byte)(F53(r.Value) | (F.Value & S_CF)); NF = true; SF = (r.Value & 0x80) == 0x80; ZF = r.Value == 0; HF = (r.Value & 0x0F) == 0x0F; VF = r.Value == 0x7F; }
private void dec(IRegister <ushort> r) => r.Dec();