コード例 #1
0
        public void ANDWFTest()
        {
            Arbeitsspeicher RamTest = new Arbeitsspeicher();

            RamTest.W           = 0x25;
            RamTest.RAM[0, 0xC] = 0x36;
            int expected = 0x24;

            Commands.ANDWF(0x050C, RamTest, 0);

            int actual = RamTest.W;

            Assert.AreEqual(expected, actual, "Expected did not Match actual");
        }