Esempio n. 1
0
 public RegisterX Set(IOperand o)
 {
     if (o is RegisterA)
     {
         CPU6502.TAX();
     }
     else if (o is RegisterY)
     {
         CPU6502.TYA();
         CPU6502.TAX();
     }
     else
     {
         CPU6502.LDX(o);
     }
     return(this);
 }