public void TestSCF() { var device = TestUtils.CreateTestDevice(); var cpu = device.CPU; var alu = new ALU(cpu); alu.SCF(); Assert.True(cpu.Registers.GetFlag(CpuFlags.CarryFlag)); alu.SCF(); Assert.True(cpu.Registers.GetFlag(CpuFlags.CarryFlag)); }