コード例 #1
0
        public void PUSHBU_ShouldWrapAround()
        {
            TestContext.WriteLine("PUSHBU should wrap around");

            cpu.reset();
            cpu.PUSHBU(0x23);
            Assert.That(writeMemoryAddress[0].address, Is.EqualTo(65535));
            Assert.That(writeMemoryAddress[0].value, Is.EqualTo(0x23));
        }