示例#1
0
 public AddTest1()
 {
     bus = new MemorySpace(1); //create 1kb of memory for the cpu
     cpu = new MC68000();
     cpu.AddressSpace = bus;
     cpu.Reset();
     cpu.SetAddrRegisterLong(7, 0x200);
 }
        public AddressRegisterPreDecOperandTest()
        {
            //create 1kb of memory for the cpu
            bus = new MemorySpaceAnonymousInnerClass(this);

            cpu = new MC68000();
            cpu.AddressSpace = bus;
            cpu.Reset();
            cpu.SetAddrRegisterLong(7, 0x200);
            wordWrites.Clear();
        }