List of Java bytecode instructions: Difference between revisions

Content deleted Content added
m fixed dashes using a script
Line 696:
|
|→ -1
|load the int value -1−1 onto the stack
|-
|iconst_0
Line 1,226:
|ab
|1010 1011
|4+: <0-30–3 bytes padding>, defaultbyte1, defaultbyte2, defaultbyte3, defaultbyte4, npairs1, npairs2, npairs3, npairs4, match-offset pairs...
|key →
|a target address is looked up from a table using a key and execution continues from the instruction at that address
Line 1,326:
|
|objectref →
|enter monitor for object ("grab the lock" - start of synchronized() section)
|-
|monitorexit
Line 1,333:
|
|objectref →
|exit monitor for object ("release the lock" - end of synchronized() section)
|-
|multianewarray
Line 1,436:
|aa
|1010 1010
|4+: [0-30–3 bytes padding], defaultbyte1, defaultbyte2, defaultbyte3, defaultbyte4, lowbyte1, lowbyte2, lowbyte3, lowbyte4, highbyte1, highbyte2, highbyte3, highbyte4, jump offsets...
|index →
|continue execution from an address in the table at offset ''index''
Line 1,464:
 
== External links ==
*[http://docs.oracle.com/javase/specs/jvms/se7/html/index.html Oracle's Java Virtual Machine Specification - Java SE 7 Edition]
*[http://docs.oracle.com/javase/specs/jvms/se8/html/index.html Oracle's Java Virtual Machine Specification - Java SE 8 Edition]
*[http://homepages.inf.ed.ac.uk/kwxm/JVM/codeByFn.html List of Opcodes grouped by Function]