⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 instructions2.doc169.html

📁 Jvm 规范说明。The Java Virtual Machine was designed to support the Java programming language. Some concep
💻 HTML
字号:
<html><head><title>VM Spec  </title></head><body BGCOLOR=#eeeeff text=#000000 LINK=#0000ff VLINK=#000077 ALINK=#ff0000> <a href="VMSpecTOC.doc.html">Contents</a> | <a href="Instructions2.doc168.html">Prev</a> | <a href="Instructions2.doc170.html">Next</a> | <a href="Mnemonics.doc.html">Index</a><hr><br> <a name="putfield"></a><h2>putfield</h2><a name="putfield.Operation"></a><b>Operation</b><br><a name="69920"></a>Set field in object<p><Table Border="3"><tr><td><a name="69915"></a> <i>putfield</i><td><a name="87568"></a> <tr><td><a name="69917"></a> <i>indexbyte1</i><td><a name="87568"></a> <tr><td><a name="69919"></a> <i>indexbyte2</i><td><a name="87568"></a> </Table><Table><tr><td></Table><p><a name="putfield.Forms"></a><b>Forms</b><br><a name="69921"></a><i>putfield</i> = 181 (0xb5)<p><a name="putfield.Stack"></a><b>Stack</b><br><a name="69922"></a>..., <i>objectref</i>, <i>value</i> <img src="chars/arrwdbrt.gif"> ...<p><a name="69923"></a>OR<p><a name="putfield.Stack"></a><b>Stack</b><br><a name="69924"></a>..., <i>objectref</i>, <i>value.word1</i>, <i>value.word2</i> <img src="chars/arrwdbrt.gif"> ...<p><a name="putfield.Description"></a><b>Description</b><br><a name="69925"></a>The unsigned <i>indexbyte1</i> and <i>indexbyte2</i> are used to construct an index into the constant pool of the current class <a href="Overview.doc.html#17257">(&#167;3.6)</a>, where the value of the index is (<i>indexbyte1</i> << 8) | <i>indexbyte2</i>. The constant pool item at the index must be a <code>CONSTANT_Fieldref</code> <a href="ClassFile.doc.html#4723">(&#167;4.4.2)</a>, a reference to a class name and a field name. If the field is <code>protected</code> <a href="ClassFile.doc.html#1513">(&#167;4.6)</a>, then it must be either a member of the current class or a member of a superclass of the current class, and the class of <i>objectref</i> must be either the current class or a subclass of the current class.<p><hr><!-- This inserts footnotes--><p><a href="VMSpecTOC.doc.html">Contents</a> | <a href="Instructions2.doc168.html">Prev</a> | <a href="Instructions2.doc170.html">Next</a> | <a href="Mnemonics.doc.html">Index</a><p><font size=-1>Java Virtual Machine Specification (HTML generated by dkramer on February 25, 1997)<br><i><a href="Copyright.doc.html">Copyright &#169 1996 Sun Microsystems, Inc.</a>All rights reserved</i><br>Please send any comments or corrections to <a href="mailto:doug.kramer@sun.com">doug.kramer@sun.com</a></font></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -