From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:QVM (Quake III)" |
|---|
| claim | "The QVM opcode byte values are the order of enum opcode_t from OP_UNDEF=0 to OP_CVFI=59; ENTER, LEAVE, CONST, LOCAL, BLOCK_COPY and EQ..GEF carry a 4-byte operand, ARG a 1-byte operand." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:QVM (Quake III)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "opcode_t" |
|---|
| underlying_type | "uint8" |
|---|
| values | | 0 | "OP_UNDEF" |
|---|
| 1 | "OP_IGNORE" |
|---|
| 2 | "OP_BREAK" |
|---|
| 3 | "OP_ENTER" |
|---|
| 4 | "OP_LEAVE" |
|---|
| 5 | "OP_CALL" |
|---|
| 6 | "OP_PUSH" |
|---|
| 7 | "OP_POP" |
|---|
| 8 | "OP_CONST" |
|---|
| 9 | "OP_LOCAL" |
|---|
| 10 | "OP_JUMP" |
|---|
| 11 | "OP_EQ" |
|---|
| 12 | "OP_NE" |
|---|
| 13 | "OP_LTI" |
|---|
| 14 | "OP_LEI" |
|---|
| 15 | "OP_GTI" |
|---|
| 16 | "OP_GEI" |
|---|
| 17 | "OP_LTU" |
|---|
| 18 | "OP_LEU" |
|---|
| 19 | "OP_GTU" |
|---|
| 20 | "OP_GEU" |
|---|
| 21 | "OP_EQF" |
|---|
| 22 | "OP_NEF" |
|---|
| 23 | "OP_LTF" |
|---|
| 24 | "OP_LEF" |
|---|
| 25 | "OP_GTF" |
|---|
| 26 | "OP_GEF" |
|---|
| 27 | "OP_LOAD1" |
|---|
| 28 | "OP_LOAD2" |
|---|
| 29 | "OP_LOAD4" |
|---|
| 30 | "OP_STORE1" |
|---|
| 31 | "OP_STORE2" |
|---|
| 32 | "OP_STORE4" |
|---|
| 33 | "OP_ARG" |
|---|
| 34 | "OP_BLOCK_COPY" |
|---|
| 35 | "OP_SEX8" |
|---|
| 36 | "OP_SEX16" |
|---|
| 37 | "OP_NEGI" |
|---|
| 38 | "OP_ADD" |
|---|
| 39 | "OP_SUB" |
|---|
| 40 | "OP_DIVI" |
|---|
| 41 | "OP_DIVU" |
|---|
| 42 | "OP_MODI" |
|---|
| 43 | "OP_MODU" |
|---|
| 44 | "OP_MULI" |
|---|
| 45 | "OP_MULU" |
|---|
| 46 | "OP_BAND" |
|---|
| 47 | "OP_BOR" |
|---|
| 48 | "OP_BXOR" |
|---|
| 49 | "OP_BCOM" |
|---|
| 50 | "OP_LSH" |
|---|
| 51 | "OP_RSHI" |
|---|
| 52 | "OP_RSHU" |
|---|
| 53 | "OP_NEGF" |
|---|
| 54 | "OP_ADDF" |
|---|
| 55 | "OP_SUBF" |
|---|
| 56 | "OP_DIVF" |
|---|
| 57 | "OP_MULF" |
|---|
| 58 | "OP_CVIF" |
|---|
| 59 | "OP_CVFI" |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum opcode_t listing, numbered by counting; operand sizes from vm_interpreted.c VM_PrepareInterpreter lines 184-216." |
|---|
| repo | "https://github.com/id-Software/Quake-III-Arena" |
|---|
| commit | "dbe4ddb10315479fc00086f08e25d968b4b43c49" |
|---|
| path | "code/qcommon/vm_local.h" |
|---|
| lines | "25-110" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "QVM opcodes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:38:31.048Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:30:12.796Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read vm_local.h at dbe4ddb1: enum opcode_t counted from OP_UNDEF=0 to OP_CVFI=59; all 60 names and numbers match." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T11:30:11.984Z" |
|---|
| summary | "enum opcode_t has exactly these 60 entries: mark complete." |
|---|
| changed | |
|---|
|
|
|---|