8SA1Sim/js/isa/misc.js

34 lines
880 B
JavaScript

class IS_NOP extends Microcode_Instruction {
constructor(props) {
super(props);
this.Bytecode = 0x3ff;
this.Mnemonic = "NOP";
this.LongName = "NO OPERATION";
this.Aliases = new Array();
this.Type = InstructionTypes.SingleWord;
this.Operands = new Array();
this.Words = 1;
this.Cycles = 2;
}
}
is_NOP = new IS_NOP;
Instructions.push(is_NOP);
class IS_NOP0 extends Microcode_Instruction {
constructor(props) {
super(props);
this.Bytecode = 0x0;
this.Mnemonic = "NOP";
this.LongName = "NO OPERATION";
this.Aliases = new Array();
this.Type = InstructionTypes.SingleWord;
this.Operands = new Array();
this.Words = 1;
this.Cycles = 2;
}
}
is_NOP0 = new IS_NOP0;
Instructions.push(is_NOP0);