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