Skip to content

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

ts
AALOAD: 50

Defined in: packages/asm/libs/Opcodes.ts:245

AASTORE

ts
AASTORE: 83

Defined in: packages/asm/libs/Opcodes.ts:271

ACC_ABSTRACT

ts
ACC_ABSTRACT: 1024

Defined in: packages/asm/libs/Opcodes.ts:91

ACC_ANNOTATION

ts
ACC_ANNOTATION: 8192

Defined in: packages/asm/libs/Opcodes.ts:97

ACC_BRIDGE

ts
ACC_BRIDGE: 64

Defined in: packages/asm/libs/Opcodes.ts:81

ACC_DEPRECATED

ts
ACC_DEPRECATED: 131072

Defined in: packages/asm/libs/Opcodes.ts:103

ACC_ENUM

ts
ACC_ENUM: 16384

Defined in: packages/asm/libs/Opcodes.ts:99

ACC_FINAL

ts
ACC_FINAL: 16

Defined in: packages/asm/libs/Opcodes.ts:73

ACC_INTERFACE

ts
ACC_INTERFACE: 512

Defined in: packages/asm/libs/Opcodes.ts:89

ACC_MANDATED

ts
ACC_MANDATED: 32768

Defined in: packages/asm/libs/Opcodes.ts:101

ACC_NATIVE

ts
ACC_NATIVE: 256

Defined in: packages/asm/libs/Opcodes.ts:87

ACC_PRIVATE

ts
ACC_PRIVATE: 2

Defined in: packages/asm/libs/Opcodes.ts:67

ACC_PROTECTED

ts
ACC_PROTECTED: 4

Defined in: packages/asm/libs/Opcodes.ts:69

ACC_PUBLIC

ts
ACC_PUBLIC: 1

Defined in: packages/asm/libs/Opcodes.ts:65

ACC_STATIC

ts
ACC_STATIC: 8

Defined in: packages/asm/libs/Opcodes.ts:71

ACC_STRICT

ts
ACC_STRICT: 2048

Defined in: packages/asm/libs/Opcodes.ts:93

ACC_SUPER

ts
ACC_SUPER: 32

Defined in: packages/asm/libs/Opcodes.ts:75

ACC_SYNCHRONIZED

ts
ACC_SYNCHRONIZED: 32

Defined in: packages/asm/libs/Opcodes.ts:77

ACC_SYNTHETIC

ts
ACC_SYNTHETIC: 4096

Defined in: packages/asm/libs/Opcodes.ts:95

ACC_TRANSIENT

ts
ACC_TRANSIENT: 128

Defined in: packages/asm/libs/Opcodes.ts:85

ACC_VARARGS

ts
ACC_VARARGS: 128

Defined in: packages/asm/libs/Opcodes.ts:83

ACC_VOLATILE

ts
ACC_VOLATILE: 64

Defined in: packages/asm/libs/Opcodes.ts:79

ACONST_NULL

ts
ACONST_NULL: 1

Defined in: packages/asm/libs/Opcodes.ts:191

ALOAD

ts
ALOAD: 25

Defined in: packages/asm/libs/Opcodes.ts:235

ANEWARRAY

ts
ANEWARRAY: 189

Defined in: packages/asm/libs/Opcodes.ts:483

ARETURN

ts
ARETURN: 176

Defined in: packages/asm/libs/Opcodes.ts:457

ARRAYLENGTH

ts
ARRAYLENGTH: 190

Defined in: packages/asm/libs/Opcodes.ts:485

ASM4

ts
ASM4: 262144

Defined in: packages/asm/libs/Opcodes.ts:45

ASM5

ts
ASM5: 327680

Defined in: packages/asm/libs/Opcodes.ts:47

ASTORE

ts
ASTORE: 58

Defined in: packages/asm/libs/Opcodes.ts:261

ATHROW

ts
ATHROW: 191

Defined in: packages/asm/libs/Opcodes.ts:487

BALOAD

ts
BALOAD: 51

Defined in: packages/asm/libs/Opcodes.ts:247

BASTORE

ts
BASTORE: 84

Defined in: packages/asm/libs/Opcodes.ts:273

BIPUSH

ts
BIPUSH: 16

Defined in: packages/asm/libs/Opcodes.ts:221

CALOAD

ts
CALOAD: 52

Defined in: packages/asm/libs/Opcodes.ts:249

CASTORE

ts
CASTORE: 85

Defined in: packages/asm/libs/Opcodes.ts:275

CHECKCAST

ts
CHECKCAST: 192

Defined in: packages/asm/libs/Opcodes.ts:489

D2F

ts
D2F: 144

Defined in: packages/asm/libs/Opcodes.ts:393

D2I

ts
D2I: 142

Defined in: packages/asm/libs/Opcodes.ts:389

D2L

ts
D2L: 143

Defined in: packages/asm/libs/Opcodes.ts:391

DADD

ts
DADD: 99

Defined in: packages/asm/libs/Opcodes.ts:303

DALOAD

ts
DALOAD: 49

Defined in: packages/asm/libs/Opcodes.ts:243

DASTORE

ts
DASTORE: 82

Defined in: packages/asm/libs/Opcodes.ts:269

DCMPG

ts
DCMPG: 152

Defined in: packages/asm/libs/Opcodes.ts:409

DCMPL

ts
DCMPL: 151

Defined in: packages/asm/libs/Opcodes.ts:407

DCONST_0

ts
DCONST_0: 14

Defined in: packages/asm/libs/Opcodes.ts:217

DCONST_1

ts
DCONST_1: 15

Defined in: packages/asm/libs/Opcodes.ts:219

DDIV

ts
DDIV: 111

Defined in: packages/asm/libs/Opcodes.ts:327

DLOAD

ts
DLOAD: 24

Defined in: packages/asm/libs/Opcodes.ts:233

DMUL

ts
DMUL: 107

Defined in: packages/asm/libs/Opcodes.ts:319

DNEG

ts
DNEG: 119

Defined in: packages/asm/libs/Opcodes.ts:343

DOUBLE

ts
DOUBLE: 3

Defined in: packages/asm/libs/Opcodes.ts:181

DREM

ts
DREM: 115

Defined in: packages/asm/libs/Opcodes.ts:335

DRETURN

ts
DRETURN: 175

Defined in: packages/asm/libs/Opcodes.ts:455

DSTORE

ts
DSTORE: 57

Defined in: packages/asm/libs/Opcodes.ts:259

DSUB

ts
DSUB: 103

Defined in: packages/asm/libs/Opcodes.ts:311

DUP

ts
DUP: 89

Defined in: packages/asm/libs/Opcodes.ts:283

DUP2

ts
DUP2: 92

Defined in: packages/asm/libs/Opcodes.ts:289

DUP2_X1

ts
DUP2_X1: 93

Defined in: packages/asm/libs/Opcodes.ts:291

DUP2_X2

ts
DUP2_X2: 94

Defined in: packages/asm/libs/Opcodes.ts:293

DUP_X1

ts
DUP_X1: 90

Defined in: packages/asm/libs/Opcodes.ts:285

DUP_X2

ts
DUP_X2: 91

Defined in: packages/asm/libs/Opcodes.ts:287

F2D

ts
F2D: 141

Defined in: packages/asm/libs/Opcodes.ts:387

F2I

ts
F2I: 139

Defined in: packages/asm/libs/Opcodes.ts:383

F2L

ts
F2L: 140

Defined in: packages/asm/libs/Opcodes.ts:385

FADD

ts
FADD: 98

Defined in: packages/asm/libs/Opcodes.ts:301

FALOAD

ts
FALOAD: 48

Defined in: packages/asm/libs/Opcodes.ts:241

FASTORE

ts
FASTORE: 81

Defined in: packages/asm/libs/Opcodes.ts:267

FCMPG

ts
FCMPG: 150

Defined in: packages/asm/libs/Opcodes.ts:405

FCMPL

ts
FCMPL: 149

Defined in: packages/asm/libs/Opcodes.ts:403

FCONST_0

ts
FCONST_0: 11

Defined in: packages/asm/libs/Opcodes.ts:211

FCONST_1

ts
FCONST_1: 12

Defined in: packages/asm/libs/Opcodes.ts:213

FCONST_2

ts
FCONST_2: 13

Defined in: packages/asm/libs/Opcodes.ts:215

FDIV

ts
FDIV: 110

Defined in: packages/asm/libs/Opcodes.ts:325

FLOAD

ts
FLOAD: 23

Defined in: packages/asm/libs/Opcodes.ts:231

FLOAT

ts
FLOAT: 2

Defined in: packages/asm/libs/Opcodes.ts:179

FMUL

ts
FMUL: 106

Defined in: packages/asm/libs/Opcodes.ts:317

FNEG

ts
FNEG: 118

Defined in: packages/asm/libs/Opcodes.ts:341

FREM

ts
FREM: 114

Defined in: packages/asm/libs/Opcodes.ts:333

FRETURN

ts
FRETURN: 174

Defined in: packages/asm/libs/Opcodes.ts:453

FSTORE

ts
FSTORE: 56

Defined in: packages/asm/libs/Opcodes.ts:257

FSUB

ts
FSUB: 102

Defined in: packages/asm/libs/Opcodes.ts:309

F_APPEND

ts
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

ts
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

ts
F_FULL: 0

Represents a compressed frame with compe frame data.,

Defined in: packages/asm/libs/Opcodes.ts:147

F_NEW

ts
F_NEW: -1

Represents an expanded frame. See [ClassReader#EXPAND_FRAMES].

Defined in: packages/asm/libs/Opcodes.ts:142

F_SAME

ts
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

ts
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

ts
GETFIELD: 180

Defined in: packages/asm/libs/Opcodes.ts:465

GETSTATIC

ts
GETSTATIC: 178

Defined in: packages/asm/libs/Opcodes.ts:461

GOTO

ts
GOTO: 167

Defined in: packages/asm/libs/Opcodes.ts:439

H_GETFIELD

ts
H_GETFIELD: 1

Defined in: packages/asm/libs/Opcodes.ts:121

H_GETSTATIC

ts
H_GETSTATIC: 2

Defined in: packages/asm/libs/Opcodes.ts:123

H_INVOKEINTERFACE

ts
H_INVOKEINTERFACE: 9

Defined in: packages/asm/libs/Opcodes.ts:137

H_INVOKESPECIAL

ts
H_INVOKESPECIAL: 7

Defined in: packages/asm/libs/Opcodes.ts:133

H_INVOKESTATIC

ts
H_INVOKESTATIC: 6

Defined in: packages/asm/libs/Opcodes.ts:131

H_INVOKEVIRTUAL

ts
H_INVOKEVIRTUAL: 5

Defined in: packages/asm/libs/Opcodes.ts:129

H_NEWINVOKESPECIAL

ts
H_NEWINVOKESPECIAL: 8

Defined in: packages/asm/libs/Opcodes.ts:135

H_PUTFIELD

ts
H_PUTFIELD: 3

Defined in: packages/asm/libs/Opcodes.ts:125

H_PUTSTATIC

ts
H_PUTSTATIC: 4

Defined in: packages/asm/libs/Opcodes.ts:127

I2B

ts
I2B: 145

Defined in: packages/asm/libs/Opcodes.ts:395

I2C

ts
I2C: 146

Defined in: packages/asm/libs/Opcodes.ts:397

I2D

ts
I2D: 135

Defined in: packages/asm/libs/Opcodes.ts:375

I2F

ts
I2F: 134

Defined in: packages/asm/libs/Opcodes.ts:373

I2L

ts
I2L: 133

Defined in: packages/asm/libs/Opcodes.ts:371

I2S

ts
I2S: 147

Defined in: packages/asm/libs/Opcodes.ts:399

IADD

ts
IADD: 96

Defined in: packages/asm/libs/Opcodes.ts:297

IALOAD

ts
IALOAD: 46

Defined in: packages/asm/libs/Opcodes.ts:237

IAND

ts
IAND: 126

Defined in: packages/asm/libs/Opcodes.ts:357

IASTORE

ts
IASTORE: 79

Defined in: packages/asm/libs/Opcodes.ts:263

ICONST_0

ts
ICONST_0: 3

Defined in: packages/asm/libs/Opcodes.ts:195

ICONST_1

ts
ICONST_1: 4

Defined in: packages/asm/libs/Opcodes.ts:197

ICONST_2

ts
ICONST_2: 5

Defined in: packages/asm/libs/Opcodes.ts:199

ICONST_3

ts
ICONST_3: 6

Defined in: packages/asm/libs/Opcodes.ts:201

ICONST_4

ts
ICONST_4: 7

Defined in: packages/asm/libs/Opcodes.ts:203

ICONST_5

ts
ICONST_5: 8

Defined in: packages/asm/libs/Opcodes.ts:205

ICONST_M1

ts
ICONST_M1: 2

Defined in: packages/asm/libs/Opcodes.ts:193

IDIV

ts
IDIV: 108

Defined in: packages/asm/libs/Opcodes.ts:321

IFEQ

ts
IFEQ: 153

Defined in: packages/asm/libs/Opcodes.ts:411

IFGE

ts
IFGE: 156

Defined in: packages/asm/libs/Opcodes.ts:417

IFGT

ts
IFGT: 157

Defined in: packages/asm/libs/Opcodes.ts:419

IFLE

ts
IFLE: 158

Defined in: packages/asm/libs/Opcodes.ts:421

IFLT

ts
IFLT: 155

Defined in: packages/asm/libs/Opcodes.ts:415

IFNE

ts
IFNE: 154

Defined in: packages/asm/libs/Opcodes.ts:413

IFNONNULL

ts
IFNONNULL: 199

Defined in: packages/asm/libs/Opcodes.ts:501

IFNULL

ts
IFNULL: 198

Defined in: packages/asm/libs/Opcodes.ts:499

IF_ACMPEQ

ts
IF_ACMPEQ: 165

Defined in: packages/asm/libs/Opcodes.ts:435

IF_ACMPNE

ts
IF_ACMPNE: 166

Defined in: packages/asm/libs/Opcodes.ts:437

IF_ICMPEQ

ts
IF_ICMPEQ: 159

Defined in: packages/asm/libs/Opcodes.ts:423

IF_ICMPGE

ts
IF_ICMPGE: 162

Defined in: packages/asm/libs/Opcodes.ts:429

IF_ICMPGT

ts
IF_ICMPGT: 163

Defined in: packages/asm/libs/Opcodes.ts:431

IF_ICMPLE

ts
IF_ICMPLE: 164

Defined in: packages/asm/libs/Opcodes.ts:433

IF_ICMPLT

ts
IF_ICMPLT: 161

Defined in: packages/asm/libs/Opcodes.ts:427

IF_ICMPNE

ts
IF_ICMPNE: 160

Defined in: packages/asm/libs/Opcodes.ts:425

IINC

ts
IINC: 132

Defined in: packages/asm/libs/Opcodes.ts:369

ILOAD

ts
ILOAD: 21

Defined in: packages/asm/libs/Opcodes.ts:227

IMUL

ts
IMUL: 104

Defined in: packages/asm/libs/Opcodes.ts:313

INEG

ts
INEG: 116

Defined in: packages/asm/libs/Opcodes.ts:337

INSTANCEOF

ts
INSTANCEOF: 193

Defined in: packages/asm/libs/Opcodes.ts:491

INTEGER

ts
INTEGER: 1

Defined in: packages/asm/libs/Opcodes.ts:177

INVOKEDYNAMIC

ts
INVOKEDYNAMIC: 186

Defined in: packages/asm/libs/Opcodes.ts:477

INVOKEINTERFACE

ts
INVOKEINTERFACE: 185

Defined in: packages/asm/libs/Opcodes.ts:475

INVOKESPECIAL

ts
INVOKESPECIAL: 183

Defined in: packages/asm/libs/Opcodes.ts:471

INVOKESTATIC

ts
INVOKESTATIC: 184

Defined in: packages/asm/libs/Opcodes.ts:473

INVOKEVIRTUAL

ts
INVOKEVIRTUAL: 182

Defined in: packages/asm/libs/Opcodes.ts:469

IOR

ts
IOR: 128

Defined in: packages/asm/libs/Opcodes.ts:361

IREM

ts
IREM: 112

Defined in: packages/asm/libs/Opcodes.ts:329

IRETURN

ts
IRETURN: 172

Defined in: packages/asm/libs/Opcodes.ts:449

ISHL

ts
ISHL: 120

Defined in: packages/asm/libs/Opcodes.ts:345

ISHR

ts
ISHR: 122

Defined in: packages/asm/libs/Opcodes.ts:349

ISTORE

ts
ISTORE: 54

Defined in: packages/asm/libs/Opcodes.ts:253

ISUB

ts
ISUB: 100

Defined in: packages/asm/libs/Opcodes.ts:305

IUSHR

ts
IUSHR: 124

Defined in: packages/asm/libs/Opcodes.ts:353

IXOR

ts
IXOR: 130

Defined in: packages/asm/libs/Opcodes.ts:365

JSR

ts
JSR: 168

Defined in: packages/asm/libs/Opcodes.ts:441

L2D

ts
L2D: 138

Defined in: packages/asm/libs/Opcodes.ts:381

L2F

ts
L2F: 137

Defined in: packages/asm/libs/Opcodes.ts:379

L2I

ts
L2I: 136

Defined in: packages/asm/libs/Opcodes.ts:377

LADD

ts
LADD: 97

Defined in: packages/asm/libs/Opcodes.ts:299

LALOAD

ts
LALOAD: 47

Defined in: packages/asm/libs/Opcodes.ts:239

LAND

ts
LAND: 127

Defined in: packages/asm/libs/Opcodes.ts:359

LASTORE

ts
LASTORE: 80

Defined in: packages/asm/libs/Opcodes.ts:265

LCMP

ts
LCMP: 148

Defined in: packages/asm/libs/Opcodes.ts:401

LCONST_0

ts
LCONST_0: 9

Defined in: packages/asm/libs/Opcodes.ts:207

LCONST_1

ts
LCONST_1: 10

Defined in: packages/asm/libs/Opcodes.ts:209

LDC

ts
LDC: 18

Defined in: packages/asm/libs/Opcodes.ts:225

LDIV

ts
LDIV: 109

Defined in: packages/asm/libs/Opcodes.ts:323

LLOAD

ts
LLOAD: 22

Defined in: packages/asm/libs/Opcodes.ts:229

LMUL

ts
LMUL: 105

Defined in: packages/asm/libs/Opcodes.ts:315

LNEG

ts
LNEG: 117

Defined in: packages/asm/libs/Opcodes.ts:339

LONG

ts
LONG: 4

Defined in: packages/asm/libs/Opcodes.ts:183

LOOKUPSWITCH

ts
LOOKUPSWITCH: 171

Defined in: packages/asm/libs/Opcodes.ts:447

LOR

ts
LOR: 129

Defined in: packages/asm/libs/Opcodes.ts:363

LREM

ts
LREM: 113

Defined in: packages/asm/libs/Opcodes.ts:331

LRETURN

ts
LRETURN: 173

Defined in: packages/asm/libs/Opcodes.ts:451

LSHL

ts
LSHL: 121

Defined in: packages/asm/libs/Opcodes.ts:347

LSHR

ts
LSHR: 123

Defined in: packages/asm/libs/Opcodes.ts:351

LSTORE

ts
LSTORE: 55

Defined in: packages/asm/libs/Opcodes.ts:255

LSUB

ts
LSUB: 101

Defined in: packages/asm/libs/Opcodes.ts:307

LUSHR

ts
LUSHR: 125

Defined in: packages/asm/libs/Opcodes.ts:355

LXOR

ts
LXOR: 131

Defined in: packages/asm/libs/Opcodes.ts:367

MONITORENTER

ts
MONITORENTER: 194

Defined in: packages/asm/libs/Opcodes.ts:493

MONITOREXIT

ts
MONITOREXIT: 195

Defined in: packages/asm/libs/Opcodes.ts:495

MULTIANEWARRAY

ts
MULTIANEWARRAY: 197

Defined in: packages/asm/libs/Opcodes.ts:497

NEW

ts
NEW: 187

Defined in: packages/asm/libs/Opcodes.ts:479

NEWARRAY

ts
NEWARRAY: 188

Defined in: packages/asm/libs/Opcodes.ts:481

NOP

ts
NOP: 0

Defined in: packages/asm/libs/Opcodes.ts:189

NULL

ts
NULL: 5

Defined in: packages/asm/libs/Opcodes.ts:185

POP

ts
POP: 87

Defined in: packages/asm/libs/Opcodes.ts:279

POP2

ts
POP2: 88

Defined in: packages/asm/libs/Opcodes.ts:281

PUTFIELD

ts
PUTFIELD: 181

Defined in: packages/asm/libs/Opcodes.ts:467

PUTSTATIC

ts
PUTSTATIC: 179

Defined in: packages/asm/libs/Opcodes.ts:463

RET

ts
RET: 169

Defined in: packages/asm/libs/Opcodes.ts:443

RETURN

ts
RETURN: 177

Defined in: packages/asm/libs/Opcodes.ts:459

SALOAD

ts
SALOAD: 53

Defined in: packages/asm/libs/Opcodes.ts:251

SASTORE

ts
SASTORE: 86

Defined in: packages/asm/libs/Opcodes.ts:277

SIPUSH

ts
SIPUSH: 17

Defined in: packages/asm/libs/Opcodes.ts:223

SWAP

ts
SWAP: 95

Defined in: packages/asm/libs/Opcodes.ts:295

TABLESWITCH

ts
TABLESWITCH: 170

Defined in: packages/asm/libs/Opcodes.ts:445

TOP

ts
TOP: 0

Defined in: packages/asm/libs/Opcodes.ts:175

T_BOOLEAN

ts
T_BOOLEAN: 4

Defined in: packages/asm/libs/Opcodes.ts:105

T_BYTE

ts
T_BYTE: 8

Defined in: packages/asm/libs/Opcodes.ts:113

T_CHAR

ts
T_CHAR: 5

Defined in: packages/asm/libs/Opcodes.ts:107

T_DOUBLE

ts
T_DOUBLE: 7

Defined in: packages/asm/libs/Opcodes.ts:111

T_FLOAT

ts
T_FLOAT: 6

Defined in: packages/asm/libs/Opcodes.ts:109

T_INT

ts
T_INT: 10

Defined in: packages/asm/libs/Opcodes.ts:117

T_LONG

ts
T_LONG: 11

Defined in: packages/asm/libs/Opcodes.ts:119

T_SHORT

ts
T_SHORT: 9

Defined in: packages/asm/libs/Opcodes.ts:115

UNINITIALIZED_THIS

ts
UNINITIALIZED_THIS: 6

Defined in: packages/asm/libs/Opcodes.ts:187

V1_1

ts
V1_1: 196653

Defined in: packages/asm/libs/Opcodes.ts:49

V1_2

ts
V1_2: 46

Defined in: packages/asm/libs/Opcodes.ts:51

V1_3

ts
V1_3: 47

Defined in: packages/asm/libs/Opcodes.ts:53

V1_4

ts
V1_4: 48

Defined in: packages/asm/libs/Opcodes.ts:55

V1_5

ts
V1_5: 49

Defined in: packages/asm/libs/Opcodes.ts:57

V1_6

ts
V1_6: 50

Defined in: packages/asm/libs/Opcodes.ts:59

V1_7

ts
V1_7: 51

Defined in: packages/asm/libs/Opcodes.ts:61

V1_8

ts
V1_8: 52

Defined in: packages/asm/libs/Opcodes.ts:63