-
Notifications
You must be signed in to change notification settings - Fork 0
/
opcode.go
81 lines (63 loc) · 1.09 KB
/
opcode.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package jvm
const (
OpNop = 0x0
OpIConstM1 = 0x2
OpIConst0 = 0x3
OpIConst1 = 0x4
OpIConst2 = 0x5
OpIConst3 = 0x6
OpIConst4 = 0x7
OpIConst5 = 0x8
OpLDC = 0x12
OpILoad = 0x15
OpILoad0 = 0x1a
OpILoad1 = 0x1b
OpILoad2 = 0x1c
OpILoad3 = 0x1d
OpALoad = 0x25
OpAALoad = 0x32
OpALoad0 = 0x2a
OpALoad1 = 0x2b
OpALoad2 = 0x2c
OpALoad3 = 0x2d
OpIStore = 0x36
OpIStore0 = 0x3b
OpIStore1 = 0x3c
OpIStore2 = 0x3d
OpIStore3 = 0x3e
OpAStore = 0x3A
OpAStore0 = 0x4b
OpAStore1 = 0x4c
OpAStore2 = 0x4d
OpAStore3 = 0x4e
OpDup = 0x59
OpPop = 0x57
OpIAdd = 0x60
OpISub = 0x64
OpIMul = 0x68
OpIReturn = 0xAC
OpAReturn = 0xB0
OpReturn = 0xB1
OpGetStatic = 0xB2
OpGetField = 0xB4
OpPutField = 0xB5
OpInvokeVirtual = 0xB6
OpInvokeSpecial = 0xB7
OpInvokeStatic = 0xB8
OpInvokeDynamic = 0xBA
OpNew = 0xBB
OpBiPush = 0x10
OpSiPush = 0x11
OpIfICmpEq = 0x9f
OpIfICmpNe = 0xa0
OpIfICmpLt = 0xa1
OpIfICmpGe = 0xa2
OpIfICmpGt = 0xa3
OpIfICmpLe = 0xa4
OpIfNe = 0x9a
OpIfACmpEq = 0xa5
OpIfACmpNe = 0xa6
OpGoto = 0xa7
OpIInc = 0x84
OpPatch = 0xff
)