?? iconst_1.java~1~
字號:
/**
* Created by IntelliJ IDEA. User: yellowicq Date: 2004-4-27 Time: 14:40:53
* To change this template use File | Settings | File Templates.
*/
public class ICONST_1 implements Instruction {
public ICONST_1() { }
public String Name() {
return "iconst_1";
}
public int NumArguments() {
return 0;
}
public String ToString() {
return Name();
}
public void SI(AbstractMachineState state) {
Tracer.debug("SI iconst_1");
VM_DataArea VM_da = (VM_DataArea)state.getDataArea();
VM_Program VM_prog = (VM_Program)state.getProgram();
// Implementation of allocate semantics
VM_da.orStack.push(new Integer(1));
//move the cp pointer to next
synchronized(this) {
VM_prog.Next();
VM_da.regs.setCP_GLOBAL(VM_prog.Consult_CP());
}
}
public void Process(String args[]) {
// Proces the text representation of the instruction
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -