public void TestLowByte() { const ushort input = 0xf00f; var low = Chip.LowByte(input); Assert.AreEqual(0xf, low); }
public Register16(ushort value) { this.Low = Chip.LowByte(value); this.High = Chip.HighByte(value); }