|
libc8
CHIP-8 utility library
|
Represents a valid instruction format. More...
#include <symbol.h>
Data Fields | |
| C8_InstructionIdentifier | cmd |
| Instruction command. | |
| uint16_t | base |
| Base hex value of command (without parameters) | |
| int | pcount |
| Parameter count. | |
| C8_SymbolIdentifier | ptype [3] |
| Parameter types. | |
| uint16_t | pmask [3] |
| Parameter masks (where to OR parameters to) | |
Represents a valid instruction format.
C8_Instructions are checked against C8_InstructionFormats to verify that they will produce valid instructions.
| uint16_t base |
Base hex value of command (without parameters)
Instruction command.
| int pcount |
Parameter count.
| uint16_t pmask[3] |
Parameter masks (where to OR parameters to)
| C8_SymbolIdentifier ptype[3] |
Parameter types.