private void GetOperadores() { //int ip_actual = IP.Decimal; IA.EnableEscritura(true); IA.Set(ConversorBinario.Palabra(IP.Decimal + 1)); IA.EnableEscritura(false); IA.EnableLectura(true); Operador1 = CPU.Memoria.Leer(IA.Get()); IA.EnableLectura(false); if (this.LongitudOperacion == 3) { IA.EnableEscritura(true); IA.Set(ConversorBinario.Palabra(IA.Decimal + 1)); IA.EnableEscritura(false); IA.EnableLectura(true); Operador2 = CPU.Memoria.Leer(IA.Get()); IA.EnableLectura(false); } //IA.EnableEscritura(true); //IA.Set(ConversorBinario.Palabra(ip_actual)); //IA.EnableEscritura(false); SetOperadores(Operador1, Operador2); }
public bool IsBegin() { if (this.OpCode == 28) { if (this.ModCode == 0) { if (ConversorBinario.BinarioToString(this.Instruccion) == "00000000000000000000000111000000") { return(true); } } } return(false); }