From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:WebAssembly binary format" |
|---|
| claim | "One-byte opcodes of the WebAssembly instructions most seen when reading code: control flow 0x00-0x15, parametric 0x1A-0x1C, variable access 0x20-0x24, memory 0x28-0x40, constants 0x41-0x44, i32.add 0x6A. Prefix bytes 0xFB (GC), 0xFC (saturating truncation, bulk memory, e.g. FC 0A memory.copy, FC 0B memory.fill), 0xFD (SIMD) and 0xFE (atomics) are followed by a LEB128 sub-opcode." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:WebAssembly binary format" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "wasm_opcode" |
|---|
| underlying_type | "uint8_t" |
|---|
| values | | OP_UNREACHABLE | 0 |
|---|
| OP_NOP | 1 |
|---|
| OP_BLOCK | 2 |
|---|
| OP_LOOP | 3 |
|---|
| OP_IF | 4 |
|---|
| OP_ELSE | 5 |
|---|
| OP_TRY | 6 |
|---|
| OP_CATCH | 7 |
|---|
| OP_THROW | 8 |
|---|
| OP_RETHROW | 9 |
|---|
| OP_THROW_REF | 10 |
|---|
| OP_END | 11 |
|---|
| OP_BR | 12 |
|---|
| OP_BR_IF | 13 |
|---|
| OP_BR_TABLE | 14 |
|---|
| OP_RETURN | 15 |
|---|
| OP_CALL | 16 |
|---|
| OP_CALL_INDIRECT | 17 |
|---|
| OP_RETURN_CALL | 18 |
|---|
| OP_RETURN_CALL_INDIRECT | 19 |
|---|
| OP_CALL_REF | 20 |
|---|
| OP_RETURN_CALL_REF | 21 |
|---|
| OP_DELEGATE | 24 |
|---|
| OP_CATCH_ALL | 25 |
|---|
| OP_DROP | 26 |
|---|
| OP_SELECT | 27 |
|---|
| OP_SELECT_T | 28 |
|---|
| OP_TRY_TABLE | 31 |
|---|
| OP_LOCAL_GET | 32 |
|---|
| OP_LOCAL_SET | 33 |
|---|
| OP_LOCAL_TEE | 34 |
|---|
| OP_GLOBAL_GET | 35 |
|---|
| OP_GLOBAL_SET | 36 |
|---|
| OP_I32_LOAD | 40 |
|---|
| OP_I64_LOAD | 41 |
|---|
| OP_I32_STORE | 54 |
|---|
| OP_MEMORY_SIZE | 63 |
|---|
| OP_MEMORY_GROW | 64 |
|---|
| OP_I32_CONST | 65 |
|---|
| OP_I64_CONST | 66 |
|---|
| OP_F32_CONST | 67 |
|---|
| OP_F64_CONST | 68 |
|---|
| OP_I32_EQZ | 69 |
|---|
| OP_I32_ADD | 106 |
|---|
| OP_I32_SUB | 107 |
|---|
| OP_I32_MUL | 108 |
|---|
| OP_PREFIX_GC | 251 |
|---|
| OP_PREFIX_MISC | 252 |
|---|
| OP_PREFIX_SIMD | 253 |
|---|
| OP_PREFIX_ATOMIC | 254 |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "WABT_OPCODE(... prefix, code, Name, text) rows, e.g. 0x0b End, 0x10 Call, 0x41 I32Const, 0xfc 0x0a MemoryCopy" |
|---|
| repo | "https://github.com/WebAssembly/wabt" |
|---|
| commit | "1e9fffd80efa901b3e4708d4ba1f0df972e63518" |
|---|
| path | "include/wabt/opcode.def" |
|---|
| lines | "41-75, 88, 97-103, 140-142, 265-266, 285, 545" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "Hand-made bodies 20 00 20 01 6A 0B (local.get 0, local.get 1, i32.add, end) return 5 for add(2,3), and 01 01 00 0B traps with 'unreachable' in Node.js 24.13.0." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Control and common opcodes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T14:35:59.303Z" |
|---|
| verifications | |
|---|