Enum Opcodes
Defines the JVM opcodes, access flags and array type codes. This interface does not define all the JVM opcodes because some opcodes are automatically handled. For example, the xLOAD and xSTORE opcodes are automatically replaced by xLOAD_n and xSTORE_n opcodes when possible. The xLOAD_n and xSTORE_n opcodes are therefore not defined in this interface. Likewise for LDC, automatically replaced by LDC_W or LDC2_W when necessary, WIDE, GOTO_W and JSR_W.
🏷️ Enum Members
AALOAD
AALOAD: 50
Defined in: packages/asm/libs/Opcodes.ts:245
AASTORE
AASTORE: 83
Defined in: packages/asm/libs/Opcodes.ts:271
ACC_ABSTRACT
ACC_ABSTRACT: 1024
Defined in: packages/asm/libs/Opcodes.ts:91
ACC_ANNOTATION
ACC_ANNOTATION: 8192
Defined in: packages/asm/libs/Opcodes.ts:97
ACC_BRIDGE
ACC_BRIDGE: 64
Defined in: packages/asm/libs/Opcodes.ts:81
ACC_DEPRECATED
ACC_DEPRECATED: 131072
Defined in: packages/asm/libs/Opcodes.ts:103
ACC_ENUM
ACC_ENUM: 16384
Defined in: packages/asm/libs/Opcodes.ts:99
ACC_FINAL
ACC_FINAL: 16
Defined in: packages/asm/libs/Opcodes.ts:73
ACC_INTERFACE
ACC_INTERFACE: 512
Defined in: packages/asm/libs/Opcodes.ts:89
ACC_MANDATED
ACC_MANDATED: 32768
Defined in: packages/asm/libs/Opcodes.ts:101
ACC_NATIVE
ACC_NATIVE: 256
Defined in: packages/asm/libs/Opcodes.ts:87
ACC_PRIVATE
ACC_PRIVATE: 2
Defined in: packages/asm/libs/Opcodes.ts:67
ACC_PROTECTED
ACC_PROTECTED: 4
Defined in: packages/asm/libs/Opcodes.ts:69
ACC_PUBLIC
ACC_PUBLIC: 1
Defined in: packages/asm/libs/Opcodes.ts:65
ACC_STATIC
ACC_STATIC: 8
Defined in: packages/asm/libs/Opcodes.ts:71
ACC_STRICT
ACC_STRICT: 2048
Defined in: packages/asm/libs/Opcodes.ts:93
ACC_SUPER
ACC_SUPER: 32
Defined in: packages/asm/libs/Opcodes.ts:75
ACC_SYNCHRONIZED
ACC_SYNCHRONIZED: 32
Defined in: packages/asm/libs/Opcodes.ts:77
ACC_SYNTHETIC
ACC_SYNTHETIC: 4096
Defined in: packages/asm/libs/Opcodes.ts:95
ACC_TRANSIENT
ACC_TRANSIENT: 128
Defined in: packages/asm/libs/Opcodes.ts:85
ACC_VARARGS
ACC_VARARGS: 128
Defined in: packages/asm/libs/Opcodes.ts:83
ACC_VOLATILE
ACC_VOLATILE: 64
Defined in: packages/asm/libs/Opcodes.ts:79
ACONST_NULL
ACONST_NULL: 1
Defined in: packages/asm/libs/Opcodes.ts:191
ALOAD
ALOAD: 25
Defined in: packages/asm/libs/Opcodes.ts:235
ANEWARRAY
ANEWARRAY: 189
Defined in: packages/asm/libs/Opcodes.ts:483
ARETURN
ARETURN: 176
Defined in: packages/asm/libs/Opcodes.ts:457
ARRAYLENGTH
ARRAYLENGTH: 190
Defined in: packages/asm/libs/Opcodes.ts:485
ASM4
ASM4: 262144
Defined in: packages/asm/libs/Opcodes.ts:45
ASM5
ASM5: 327680
Defined in: packages/asm/libs/Opcodes.ts:47
ASTORE
ASTORE: 58
Defined in: packages/asm/libs/Opcodes.ts:261
ATHROW
ATHROW: 191
Defined in: packages/asm/libs/Opcodes.ts:487
BALOAD
BALOAD: 51
Defined in: packages/asm/libs/Opcodes.ts:247
BASTORE
BASTORE: 84
Defined in: packages/asm/libs/Opcodes.ts:273
BIPUSH
BIPUSH: 16
Defined in: packages/asm/libs/Opcodes.ts:221
CALOAD
CALOAD: 52
Defined in: packages/asm/libs/Opcodes.ts:249
CASTORE
CASTORE: 85
Defined in: packages/asm/libs/Opcodes.ts:275
CHECKCAST
CHECKCAST: 192
Defined in: packages/asm/libs/Opcodes.ts:489
D2F
D2F: 144
Defined in: packages/asm/libs/Opcodes.ts:393
D2I
D2I: 142
Defined in: packages/asm/libs/Opcodes.ts:389
D2L
D2L: 143
Defined in: packages/asm/libs/Opcodes.ts:391
DADD
DADD: 99
Defined in: packages/asm/libs/Opcodes.ts:303
DALOAD
DALOAD: 49
Defined in: packages/asm/libs/Opcodes.ts:243
DASTORE
DASTORE: 82
Defined in: packages/asm/libs/Opcodes.ts:269
DCMPG
DCMPG: 152
Defined in: packages/asm/libs/Opcodes.ts:409
DCMPL
DCMPL: 151
Defined in: packages/asm/libs/Opcodes.ts:407
DCONST_0
DCONST_0: 14
Defined in: packages/asm/libs/Opcodes.ts:217
DCONST_1
DCONST_1: 15
Defined in: packages/asm/libs/Opcodes.ts:219
DDIV
DDIV: 111
Defined in: packages/asm/libs/Opcodes.ts:327
DLOAD
DLOAD: 24
Defined in: packages/asm/libs/Opcodes.ts:233
DMUL
DMUL: 107
Defined in: packages/asm/libs/Opcodes.ts:319
DNEG
DNEG: 119
Defined in: packages/asm/libs/Opcodes.ts:343
DOUBLE
DOUBLE: 3
Defined in: packages/asm/libs/Opcodes.ts:181
DREM
DREM: 115
Defined in: packages/asm/libs/Opcodes.ts:335
DRETURN
DRETURN: 175
Defined in: packages/asm/libs/Opcodes.ts:455
DSTORE
DSTORE: 57
Defined in: packages/asm/libs/Opcodes.ts:259
DSUB
DSUB: 103
Defined in: packages/asm/libs/Opcodes.ts:311
DUP
DUP: 89
Defined in: packages/asm/libs/Opcodes.ts:283
DUP2
DUP2: 92
Defined in: packages/asm/libs/Opcodes.ts:289
DUP2_X1
DUP2_X1: 93
Defined in: packages/asm/libs/Opcodes.ts:291
DUP2_X2
DUP2_X2: 94
Defined in: packages/asm/libs/Opcodes.ts:293
DUP_X1
DUP_X1: 90
Defined in: packages/asm/libs/Opcodes.ts:285
DUP_X2
DUP_X2: 91
Defined in: packages/asm/libs/Opcodes.ts:287
F2D
F2D: 141
Defined in: packages/asm/libs/Opcodes.ts:387
F2I
F2I: 139
Defined in: packages/asm/libs/Opcodes.ts:383
F2L
F2L: 140
Defined in: packages/asm/libs/Opcodes.ts:385
FADD
FADD: 98
Defined in: packages/asm/libs/Opcodes.ts:301
FALOAD
FALOAD: 48
Defined in: packages/asm/libs/Opcodes.ts:241
FASTORE
FASTORE: 81
Defined in: packages/asm/libs/Opcodes.ts:267
FCMPG
FCMPG: 150
Defined in: packages/asm/libs/Opcodes.ts:405
FCMPL
FCMPL: 149
Defined in: packages/asm/libs/Opcodes.ts:403
FCONST_0
FCONST_0: 11
Defined in: packages/asm/libs/Opcodes.ts:211
FCONST_1
FCONST_1: 12
Defined in: packages/asm/libs/Opcodes.ts:213
FCONST_2
FCONST_2: 13
Defined in: packages/asm/libs/Opcodes.ts:215
FDIV
FDIV: 110
Defined in: packages/asm/libs/Opcodes.ts:325
FLOAD
FLOAD: 23
Defined in: packages/asm/libs/Opcodes.ts:231
FLOAT
FLOAT: 2
Defined in: packages/asm/libs/Opcodes.ts:179
FMUL
FMUL: 106
Defined in: packages/asm/libs/Opcodes.ts:317
FNEG
FNEG: 118
Defined in: packages/asm/libs/Opcodes.ts:341
FREM
FREM: 114
Defined in: packages/asm/libs/Opcodes.ts:333
FRETURN
FRETURN: 174
Defined in: packages/asm/libs/Opcodes.ts:453
FSTORE
FSTORE: 56
Defined in: packages/asm/libs/Opcodes.ts:257
FSUB
FSUB: 102
Defined in: packages/asm/libs/Opcodes.ts:309
F_APPEND
F_APPEND: 1
Represents a compressed frame where locals are the same as the locals in the previous frame, except that additional 1-3 locals are defined, and with an empty stack.
Defined in: packages/asm/libs/Opcodes.ts:154
F_CHOP
F_CHOP: 2
Represents a compressed frame where locals are the same as the locals in the previous frame, except that the last 1-3 locals are absent and with an empty stack.
Defined in: packages/asm/libs/Opcodes.ts:161
F_FULL
F_FULL: 0
Represents a compressed frame with compe frame data.,
Defined in: packages/asm/libs/Opcodes.ts:147
F_NEW
F_NEW: -1
Represents an expanded frame. See [ClassReader#EXPAND_FRAMES].
Defined in: packages/asm/libs/Opcodes.ts:142
F_SAME
F_SAME: 3
Represents a compressed frame with exactly the same locals as the previous frame and with an empty stack.
Defined in: packages/asm/libs/Opcodes.ts:167
F_SAME1
F_SAME1: 4
Represents a compressed frame with exactly the same locals as the previous frame and with a single value on the stack.
Defined in: packages/asm/libs/Opcodes.ts:173
GETFIELD
GETFIELD: 180
Defined in: packages/asm/libs/Opcodes.ts:465
GETSTATIC
GETSTATIC: 178
Defined in: packages/asm/libs/Opcodes.ts:461
GOTO
GOTO: 167
Defined in: packages/asm/libs/Opcodes.ts:439
H_GETFIELD
H_GETFIELD: 1
Defined in: packages/asm/libs/Opcodes.ts:121
H_GETSTATIC
H_GETSTATIC: 2
Defined in: packages/asm/libs/Opcodes.ts:123
H_INVOKEINTERFACE
H_INVOKEINTERFACE: 9
Defined in: packages/asm/libs/Opcodes.ts:137
H_INVOKESPECIAL
H_INVOKESPECIAL: 7
Defined in: packages/asm/libs/Opcodes.ts:133
H_INVOKESTATIC
H_INVOKESTATIC: 6
Defined in: packages/asm/libs/Opcodes.ts:131
H_INVOKEVIRTUAL
H_INVOKEVIRTUAL: 5
Defined in: packages/asm/libs/Opcodes.ts:129
H_NEWINVOKESPECIAL
H_NEWINVOKESPECIAL: 8
Defined in: packages/asm/libs/Opcodes.ts:135
H_PUTFIELD
H_PUTFIELD: 3
Defined in: packages/asm/libs/Opcodes.ts:125
H_PUTSTATIC
H_PUTSTATIC: 4
Defined in: packages/asm/libs/Opcodes.ts:127
I2B
I2B: 145
Defined in: packages/asm/libs/Opcodes.ts:395
I2C
I2C: 146
Defined in: packages/asm/libs/Opcodes.ts:397
I2D
I2D: 135
Defined in: packages/asm/libs/Opcodes.ts:375
I2F
I2F: 134
Defined in: packages/asm/libs/Opcodes.ts:373
I2L
I2L: 133
Defined in: packages/asm/libs/Opcodes.ts:371
I2S
I2S: 147
Defined in: packages/asm/libs/Opcodes.ts:399
IADD
IADD: 96
Defined in: packages/asm/libs/Opcodes.ts:297
IALOAD
IALOAD: 46
Defined in: packages/asm/libs/Opcodes.ts:237
IAND
IAND: 126
Defined in: packages/asm/libs/Opcodes.ts:357
IASTORE
IASTORE: 79
Defined in: packages/asm/libs/Opcodes.ts:263
ICONST_0
ICONST_0: 3
Defined in: packages/asm/libs/Opcodes.ts:195
ICONST_1
ICONST_1: 4
Defined in: packages/asm/libs/Opcodes.ts:197
ICONST_2
ICONST_2: 5
Defined in: packages/asm/libs/Opcodes.ts:199
ICONST_3
ICONST_3: 6
Defined in: packages/asm/libs/Opcodes.ts:201
ICONST_4
ICONST_4: 7
Defined in: packages/asm/libs/Opcodes.ts:203
ICONST_5
ICONST_5: 8
Defined in: packages/asm/libs/Opcodes.ts:205
ICONST_M1
ICONST_M1: 2
Defined in: packages/asm/libs/Opcodes.ts:193
IDIV
IDIV: 108
Defined in: packages/asm/libs/Opcodes.ts:321
IFEQ
IFEQ: 153
Defined in: packages/asm/libs/Opcodes.ts:411
IFGE
IFGE: 156
Defined in: packages/asm/libs/Opcodes.ts:417
IFGT
IFGT: 157
Defined in: packages/asm/libs/Opcodes.ts:419
IFLE
IFLE: 158
Defined in: packages/asm/libs/Opcodes.ts:421
IFLT
IFLT: 155
Defined in: packages/asm/libs/Opcodes.ts:415
IFNE
IFNE: 154
Defined in: packages/asm/libs/Opcodes.ts:413
IFNONNULL
IFNONNULL: 199
Defined in: packages/asm/libs/Opcodes.ts:501
IFNULL
IFNULL: 198
Defined in: packages/asm/libs/Opcodes.ts:499
IF_ACMPEQ
IF_ACMPEQ: 165
Defined in: packages/asm/libs/Opcodes.ts:435
IF_ACMPNE
IF_ACMPNE: 166
Defined in: packages/asm/libs/Opcodes.ts:437
IF_ICMPEQ
IF_ICMPEQ: 159
Defined in: packages/asm/libs/Opcodes.ts:423
IF_ICMPGE
IF_ICMPGE: 162
Defined in: packages/asm/libs/Opcodes.ts:429
IF_ICMPGT
IF_ICMPGT: 163
Defined in: packages/asm/libs/Opcodes.ts:431
IF_ICMPLE
IF_ICMPLE: 164
Defined in: packages/asm/libs/Opcodes.ts:433
IF_ICMPLT
IF_ICMPLT: 161
Defined in: packages/asm/libs/Opcodes.ts:427
IF_ICMPNE
IF_ICMPNE: 160
Defined in: packages/asm/libs/Opcodes.ts:425
IINC
IINC: 132
Defined in: packages/asm/libs/Opcodes.ts:369
ILOAD
ILOAD: 21
Defined in: packages/asm/libs/Opcodes.ts:227
IMUL
IMUL: 104
Defined in: packages/asm/libs/Opcodes.ts:313
INEG
INEG: 116
Defined in: packages/asm/libs/Opcodes.ts:337
INSTANCEOF
INSTANCEOF: 193
Defined in: packages/asm/libs/Opcodes.ts:491
INTEGER
INTEGER: 1
Defined in: packages/asm/libs/Opcodes.ts:177
INVOKEDYNAMIC
INVOKEDYNAMIC: 186
Defined in: packages/asm/libs/Opcodes.ts:477
INVOKEINTERFACE
INVOKEINTERFACE: 185
Defined in: packages/asm/libs/Opcodes.ts:475
INVOKESPECIAL
INVOKESPECIAL: 183
Defined in: packages/asm/libs/Opcodes.ts:471
INVOKESTATIC
INVOKESTATIC: 184
Defined in: packages/asm/libs/Opcodes.ts:473
INVOKEVIRTUAL
INVOKEVIRTUAL: 182
Defined in: packages/asm/libs/Opcodes.ts:469
IOR
IOR: 128
Defined in: packages/asm/libs/Opcodes.ts:361
IREM
IREM: 112
Defined in: packages/asm/libs/Opcodes.ts:329
IRETURN
IRETURN: 172
Defined in: packages/asm/libs/Opcodes.ts:449
ISHL
ISHL: 120
Defined in: packages/asm/libs/Opcodes.ts:345
ISHR
ISHR: 122
Defined in: packages/asm/libs/Opcodes.ts:349
ISTORE
ISTORE: 54
Defined in: packages/asm/libs/Opcodes.ts:253
ISUB
ISUB: 100
Defined in: packages/asm/libs/Opcodes.ts:305
IUSHR
IUSHR: 124
Defined in: packages/asm/libs/Opcodes.ts:353
IXOR
IXOR: 130
Defined in: packages/asm/libs/Opcodes.ts:365
JSR
JSR: 168
Defined in: packages/asm/libs/Opcodes.ts:441
L2D
L2D: 138
Defined in: packages/asm/libs/Opcodes.ts:381
L2F
L2F: 137
Defined in: packages/asm/libs/Opcodes.ts:379
L2I
L2I: 136
Defined in: packages/asm/libs/Opcodes.ts:377
LADD
LADD: 97
Defined in: packages/asm/libs/Opcodes.ts:299
LALOAD
LALOAD: 47
Defined in: packages/asm/libs/Opcodes.ts:239
LAND
LAND: 127
Defined in: packages/asm/libs/Opcodes.ts:359
LASTORE
LASTORE: 80
Defined in: packages/asm/libs/Opcodes.ts:265
LCMP
LCMP: 148
Defined in: packages/asm/libs/Opcodes.ts:401
LCONST_0
LCONST_0: 9
Defined in: packages/asm/libs/Opcodes.ts:207
LCONST_1
LCONST_1: 10
Defined in: packages/asm/libs/Opcodes.ts:209
LDC
LDC: 18
Defined in: packages/asm/libs/Opcodes.ts:225
LDIV
LDIV: 109
Defined in: packages/asm/libs/Opcodes.ts:323
LLOAD
LLOAD: 22
Defined in: packages/asm/libs/Opcodes.ts:229
LMUL
LMUL: 105
Defined in: packages/asm/libs/Opcodes.ts:315
LNEG
LNEG: 117
Defined in: packages/asm/libs/Opcodes.ts:339
LONG
LONG: 4
Defined in: packages/asm/libs/Opcodes.ts:183
LOOKUPSWITCH
LOOKUPSWITCH: 171
Defined in: packages/asm/libs/Opcodes.ts:447
LOR
LOR: 129
Defined in: packages/asm/libs/Opcodes.ts:363
LREM
LREM: 113
Defined in: packages/asm/libs/Opcodes.ts:331
LRETURN
LRETURN: 173
Defined in: packages/asm/libs/Opcodes.ts:451
LSHL
LSHL: 121
Defined in: packages/asm/libs/Opcodes.ts:347
LSHR
LSHR: 123
Defined in: packages/asm/libs/Opcodes.ts:351
LSTORE
LSTORE: 55
Defined in: packages/asm/libs/Opcodes.ts:255
LSUB
LSUB: 101
Defined in: packages/asm/libs/Opcodes.ts:307
LUSHR
LUSHR: 125
Defined in: packages/asm/libs/Opcodes.ts:355
LXOR
LXOR: 131
Defined in: packages/asm/libs/Opcodes.ts:367
MONITORENTER
MONITORENTER: 194
Defined in: packages/asm/libs/Opcodes.ts:493
MONITOREXIT
MONITOREXIT: 195
Defined in: packages/asm/libs/Opcodes.ts:495
MULTIANEWARRAY
MULTIANEWARRAY: 197
Defined in: packages/asm/libs/Opcodes.ts:497
NEW
NEW: 187
Defined in: packages/asm/libs/Opcodes.ts:479
NEWARRAY
NEWARRAY: 188
Defined in: packages/asm/libs/Opcodes.ts:481
NOP
NOP: 0
Defined in: packages/asm/libs/Opcodes.ts:189
NULL
NULL: 5
Defined in: packages/asm/libs/Opcodes.ts:185
POP
POP: 87
Defined in: packages/asm/libs/Opcodes.ts:279
POP2
POP2: 88
Defined in: packages/asm/libs/Opcodes.ts:281
PUTFIELD
PUTFIELD: 181
Defined in: packages/asm/libs/Opcodes.ts:467
PUTSTATIC
PUTSTATIC: 179
Defined in: packages/asm/libs/Opcodes.ts:463
RET
RET: 169
Defined in: packages/asm/libs/Opcodes.ts:443
RETURN
RETURN: 177
Defined in: packages/asm/libs/Opcodes.ts:459
SALOAD
SALOAD: 53
Defined in: packages/asm/libs/Opcodes.ts:251
SASTORE
SASTORE: 86
Defined in: packages/asm/libs/Opcodes.ts:277
SIPUSH
SIPUSH: 17
Defined in: packages/asm/libs/Opcodes.ts:223
SWAP
SWAP: 95
Defined in: packages/asm/libs/Opcodes.ts:295
TABLESWITCH
TABLESWITCH: 170
Defined in: packages/asm/libs/Opcodes.ts:445
TOP
TOP: 0
Defined in: packages/asm/libs/Opcodes.ts:175
T_BOOLEAN
T_BOOLEAN: 4
Defined in: packages/asm/libs/Opcodes.ts:105
T_BYTE
T_BYTE: 8
Defined in: packages/asm/libs/Opcodes.ts:113
T_CHAR
T_CHAR: 5
Defined in: packages/asm/libs/Opcodes.ts:107
T_DOUBLE
T_DOUBLE: 7
Defined in: packages/asm/libs/Opcodes.ts:111
T_FLOAT
T_FLOAT: 6
Defined in: packages/asm/libs/Opcodes.ts:109
T_INT
T_INT: 10
Defined in: packages/asm/libs/Opcodes.ts:117
T_LONG
T_LONG: 11
Defined in: packages/asm/libs/Opcodes.ts:119
T_SHORT
T_SHORT: 9
Defined in: packages/asm/libs/Opcodes.ts:115
UNINITIALIZED_THIS
UNINITIALIZED_THIS: 6
Defined in: packages/asm/libs/Opcodes.ts:187
V1_1
V1_1: 196653
Defined in: packages/asm/libs/Opcodes.ts:49
V1_2
V1_2: 46
Defined in: packages/asm/libs/Opcodes.ts:51
V1_3
V1_3: 47
Defined in: packages/asm/libs/Opcodes.ts:53
V1_4
V1_4: 48
Defined in: packages/asm/libs/Opcodes.ts:55
V1_5
V1_5: 49
Defined in: packages/asm/libs/Opcodes.ts:57
V1_6
V1_6: 50
Defined in: packages/asm/libs/Opcodes.ts:59
V1_7
V1_7: 51
Defined in: packages/asm/libs/Opcodes.ts:61
V1_8
V1_8: 52
Defined in: packages/asm/libs/Opcodes.ts:63