我试图模仿使用Jasmin的NOT门的行为。的行为如下: 弹出堆栈 如果整数为0的整数,推1背面压入堆栈 别的推0背面压入堆栈 我已经尝试了两次不同的尝试,但无济于事。 尝试1: ...(other code1)
ifeq 3 ; if the top of stack is 0, jump 3 lines down to "i_const1"
i_const0 ; to
我正在关注此blog以研究java到字节码&我已经为此SimpleClass生成了字节码。 public class SimpleClass {
public int simpleF = 5;
}
我理解的字节码位置如下 0为 '这个' 1是用于调用超 对象的构造。 4 - ? 5代表5 6从堆栈中弹出并将5分配给 变量。 但我不明白aload_0在位置4及其目的? // C