Files
RustIJVM/files/task5/test-invokevirtual2.jas

19 lines
222 B
Plaintext

.main
BIPUSH 0x0
BIPUSH 0x0
BIPUSH 0x0
BIPUSH 0x2
BIPUSH 0x3
INVOKEVIRTUAL add
BIPUSH 0x2
HALT
.end-main
.method add(a, b)
ILOAD a
ILOAD b
IADD
IRETURN
.end-method