Expand description

Comparison subcodes

Instructions from the comparison category are parsed like so:

10 xxx x xx  dddddddd  ffffffff  ssssssss
|/ \ / | \|  +-------  +-------  +-------
|   |  |  |  |         |         |
|   |  |  |  |         |         |
|   |  |  |  |         |         +-- the second source operand (wildcard or register depending on bit 5)
|   |  |  |  |         +-- first source operand (wildcard or register depending on bit 5)
|   |  |  |  +-- the destination operand (always interpreted as a register)
|   |  |  +-- the type of the wildcard source operand
|   |  +-- which source operand is a wildcard
|   +-- comparison operation type subcode
+-- super code (always 0b_10 for comparison)

Structs

Enums

Comparison sub-opcode type (bits 2..5)

Functions

Type Definitions

Whether the first source or the second source is a wildcard (bit 5)

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