|
libc8
CHIP-8 utility library
|
Represents an instruction. More...
#include <symbol.h>
Data Fields | |
| int | line |
| Line number. | |
| C8_InstructionIdentifier | cmd |
| Instruction command. | |
| int | pcount |
| Parameter count. | |
| C8_SymbolIdentifier | ptype [3] |
| Parameter types. | |
| int | p [3] |
| Parameter values. | |
| C8_InstructionFormat * | format |
| Corresponding instruction format. | |
Represents an instruction.
During the second pass, this structure is used to verify the instruction's validity and generate the bytecode.
Instruction command.
| C8_InstructionFormat* format |
Corresponding instruction format.
| int line |
Line number.
| int p[3] |
Parameter values.
| int pcount |
Parameter count.
| C8_SymbolIdentifier ptype[3] |
Parameter types.