Example #1
0
        public void alu_Ror16()
        {
            Assert.AreEqual(_alu.Ror16(1, 2), 0x4000);
            Assert.IsFalse(_alu.FlagC);

            Assert.AreEqual(_alu.Ror16(1, 1), 0x8000);
            Assert.IsTrue(_alu.FlagC);
        }