Example #1
0
        public void TestHighByte()
        {
            const ushort input = 0xf00f;
            var          high  = Chip.HighByte(input);

            Assert.AreEqual(0xf0, high);
        }
Example #2
0
 public Register16(ushort value)
 {
     this.Low  = Chip.LowByte(value);
     this.High = Chip.HighByte(value);
 }