List of opcodes
This is a list of all opcodes, including nops and unsupported ones, in GTA III, Vice City, and San Andreas.
| Opcode | P | Parameter type | Games | Brief description | Notes |
|---|---|---|---|---|---|
| 0000 | 0 | nop | no operation | special use in CLEO | |
| 0001 | 1 | int | wait | ||
| 0002 | 1 | label | jump | ||
| 0003 | 1 | int | shake camera | ||
| 0004 | 2 | global, int | set global to integer | ||
| 0005 | 2 | global, float | set global to float | ||
| 0006 | 2 | local, int | set local to integer | ||
| 0007 | 2 | local, float | set local to float | ||
| 0008 | 2 | global, int | add global to integer | ||
| 0009 | 2 | global, float | add global to float | ||
| 000A | 2 | local, int | add local to integer | ||
| 000B | 2 | local, float | add local to float | ||
| 000C | 2 | global, int | subtract global to integer | ||
| 000D | 2 | global, float | subtract global to float | ||
| 000E | 2 | local, int | subtract local to integer | ||
| 000F | 2 | local, float | subtract local to float | ||
| 0010 | 2 | global, int | multiply global to integer | ||
| 0011 | 2 | global, float | multiply global to float | ||
| 0012 | 2 | local, int | multiply local to integer | not used in GTA III and Vice City |