def _fstore(frame: rtda.Frame, index): val = frame.OperandStack().PopFloat() frame.LocalVars().SetFloat(index, val)
def _istore(frame: rtda.Frame, index): val = frame.OperandStack().PopInt() frame.LocalVars().SetInt(index, val)
def _dstore(frame: rtda.Frame, index): val = frame.OperandStack().PopDouble() frame.LocalVars().SetDouble(index, val)
def _astore(frame: rtda.Frame, index): ref = frame.OperandStack().PopRef() frame.LocalVars().SetRef(index, ref)
def _iload(frame: rtda.Frame, index): val = frame.LocalVars().GetInt(index) frame.OperandStack().PushInt(val)
def _lstore(frame: rtda.Frame, index): val = frame.OperandStack().PopLong() frame.LocalVars().SetLong(index, val)
def _fload(frame: rtda.Frame, index): val = frame.LocalVars().GetFloat(index) frame.OperandStack.PushFloat(val)
def _aload(frame: rtda.Frame, index): ref = frame.LocalVars().GetRef(index) frame.OperandStack().PushRef(ref)
def _dload(frame: rtda.Frame, index): val = frame.LocalVars().GetDouble(index) frame.OperandStack().PushDouble(val)
def _lload(frame: rtda.Frame, index): val = frame.LocalVars().GetLong(index) frame.OperandStack().PushLong(val)
def Execute(self, frame: rtda.Frame): localVars = frame.LocalVars() val = localVars.GetInt(self.Index) val += self.Const localVars.SetInt(self.Index, val)