Expand description

Indexing subcodes

Instructions from the index category are parsed like so:

01 x x xx xx  dddddddd  ssssssss  iiiiiiii
|/ | | \| \|  +-------  +-------  +-------
|  | |  |  |  |         |         |
|  | |  |  |  |         |         |
|  | |  |  |  |         |         +-- the index operand (register, global, immediate, or constant)
|  | |  |  |  |         +-- source operand (register, global, immediate, or constant)
|  | |  |  |  +-- the destination operand (register or global)
|  | |  |  +-- the type of the index operand
|  | |  +-- the type of the source operand
|  | +-- the type of the destination operand
|  +-- index on source or destination
+-- super code (always 0b_01 for index)

Structs

Enums

Determines whether the index is on the source or the destination (bit 2)

Functions

Type Definitions

How to interpret the destination operand (bit 3)

How to interpret the index operand (bits 6..8)

How to interpret the source operand (bits 4..6)