我正在读6. The Java Virtual Machine Instruction Set章
当我阅读下面摘录中的“操作数栈”时,我不确定如何解释这一部分。尤其是箭头,是指栈内和栈外吗?
mnemonic
Operation
Short description of the instruction
Format
mnemonic
operand1
operand2
...
Forms
mnemonic = opcode
Operand Stack
..., value1, value2 →
..., value3
Description
A longer description detailing constraints on operand stack contents or constant pool entries, the operation performed, the type of the results, etc.发布于 2021-07-02 00:49:50
我猜这在“注释”一节中有解释:
在Java虚拟机指令的描述中,指令执行对当前帧(§2.6)的操作数堆栈(§2.6.2)的影响以文本方式表示,堆栈从左向右增长,每个值分别表示。因此,...,value1,value2 result ...,→显示了一个操作,该操作首先将value1放在操作数堆栈的顶部,然后将其放在下面。
发布于 2021-07-02 00:50:22
https://stackoverflow.com/questions/68214038
复制相似问题