コード例 #1
0
ファイル: stores.py プロジェクト: kimi641/pyJVM
def _fstore(frame: rtda.Frame, index):
    val = frame.OperandStack().PopFloat()
    frame.LocalVars().SetFloat(index, val)
コード例 #2
0
ファイル: stores.py プロジェクト: kimi641/pyJVM
def _istore(frame: rtda.Frame, index):
    val = frame.OperandStack().PopInt()
    frame.LocalVars().SetInt(index, val)
コード例 #3
0
ファイル: stores.py プロジェクト: kimi641/pyJVM
def _dstore(frame: rtda.Frame, index):
    val = frame.OperandStack().PopDouble()
    frame.LocalVars().SetDouble(index, val)
コード例 #4
0
ファイル: stores.py プロジェクト: kimi641/pyJVM
def _astore(frame: rtda.Frame, index):
    ref = frame.OperandStack().PopRef()
    frame.LocalVars().SetRef(index, ref)
コード例 #5
0
def _iload(frame: rtda.Frame, index):
    val = frame.LocalVars().GetInt(index)
    frame.OperandStack().PushInt(val)
コード例 #6
0
ファイル: stores.py プロジェクト: kimi641/pyJVM
def _lstore(frame: rtda.Frame, index):
    val = frame.OperandStack().PopLong()
    frame.LocalVars().SetLong(index, val)
コード例 #7
0
def _fload(frame: rtda.Frame, index):
    val = frame.LocalVars().GetFloat(index)
    frame.OperandStack.PushFloat(val)
コード例 #8
0
def _aload(frame: rtda.Frame, index):
    ref = frame.LocalVars().GetRef(index)
    frame.OperandStack().PushRef(ref)
コード例 #9
0
def _dload(frame: rtda.Frame, index):
    val = frame.LocalVars().GetDouble(index)
    frame.OperandStack().PushDouble(val)
コード例 #10
0
def _lload(frame: rtda.Frame, index):
    val = frame.LocalVars().GetLong(index)
    frame.OperandStack().PushLong(val)
コード例 #11
0
 def Execute(self, frame: rtda.Frame):
     localVars = frame.LocalVars()
     val = localVars.GetInt(self.Index)
     val += self.Const
     localVars.SetInt(self.Index, val)