13.07.2015 Views

The PowerPC 604 RISC Microprocessor - eisber.net

The PowerPC 604 RISC Microprocessor - eisber.net

The PowerPC 604 RISC Microprocessor - eisber.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

)_)astoreStore object reference into local variableSyntaxastore_Stack: ..., value =>,wore = 58vindexvalue must be a return address or a reference to an object. Local variable Older in the current Javaframe is set to value.Store object reference into local variableSyntax:Slack ., value =>ustore_Forms: astore_O = 75, astore_1 = 76, astore__2 = 77, astore_3 = 78value must be a return address or a reference to an object. Local variable in the current Java frameis set to value.This instruction is the same as astore with a vindex of , except that the operand cu> is implicit.3.6 Managing Arraysnewarra yAllocate new arraySyntai.Stack: ..., size => resultsielvarru) = 188(lopesize most be an integer. It represents the number of elements in the new arrayat ype is an internal code that indicates the type of array to allocate. l'ossible values fur aim. are asfollows:T_13001.F.AN 4T' CHAR 5T_FLOAT 6T_DOUBLE 7T_ YTIi 8iincIncrement local variable by constantSyntax:Stack. no changeiinc = 132vindexcarerLocal variable vindex in the current Java frame must contain an integer. Its value is incremented by thevalue cool, where const is treated as a signed 8-bit quantity.T_SIIORT 9T_INT 10T_LONGA new array of alype, capable of holding size elements, is allocated, and result is a reference to this newobject. Allocation of an array large enough to contain site items of (Hype is attempted. All elements ofthe array are initialized to zeto.If size is less than zero, a Negat iveAr raySi zeExcept ion is thrown. If there is not enoughmemory to allocate the array, an OutOfMemoryError is thrown.3.5 Wider index for Loading, Storing and IncrementingwideWider index for accessing local variables in load, store and increment.Syntax'vide = 196vindex(Stack: no changeThis bytecode must precede one of the following bytecodes: i load, 1 load, f load, d load,a load, i store, lstore, (store, dstore, astore, i inc. <strong>The</strong> Wilder of the followingbytecode and vuidex2 from this bytecode are assembled into an unsigned 16-bit index to a localvariable in the current Java frame. <strong>The</strong> following bytecode operates as normal except for the use of thiswider index.August 21.1995lava Virtual Machine Specification35 36 lava Venial Machine Speaicalion Angus, 1? 1905

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!