libc8
CHIP-8 utility library
|
Represents an instruction. More...
#include <symbol.h>
Data Fields | |
int | line |
Instruction | cmd |
int | pcount |
Symbol | ptype [3] |
int | p [3] |
instruction_format_t * | format |
Represents an instruction.
During the second pass, this structure is used to verify the instruction's validity and generate the bytecode.
line | line number |
cmd | instruction command |
pcount | parameter count |
ptype | parameter types |
p | parameter values |
format | corresponding instruction_format_t (if valid) |
Instruction cmd |
instruction_format_t* format |
int line |
int p[3] |
int pcount |
Symbol ptype[3] |