% Push item from constant pool

meth ldc =^ ( ·

var index : int ·

var b : bytecode ·

var o : object ·

var entry : CpList ·

var CurrentFrame : FrameInfo ·

 

TopFrame.GetFrame(CurrentFrame);

% getting the entry number of the Constant Pool

currentFrame.GetNextBytecode(b);

b.GetCode(index);

% searching the constant pool – Finding the Constant Entry

currentFrame.FindCPList(index, entry);

entry.GetInfo(o);

% the constant value is pushed onto the Operand stack

currentFrame.Push (o);

TopFrame.SetFrame(CurrentFrame);

end end end end end

)

end