public Instruction(INSTYPE cmd, Operand opr, Position pos) { this.cmd = cmd; this.operand = opr; this.line = pos.line; this.col = pos.col; this.cur = pos.cur; this.block = pos.block; }
public void remit(int IP, INSTYPE cmd) { IV[IP].cmd = cmd; }
public int emit(INSTYPE c, int n) { IV[IP] = new Instruction(c, new Operand(n), module.Position); fatal(); return(IP++); }
public int emit(INSTYPE c) { IV[IP] = new Instruction(c, module.Position); fatal(); return(IP++); }
public Instruction(INSTYPE cmd, Position pos) : this(cmd, null, pos) { }