Started reworking the Parser to simplify how instructions will be represented. It will act like a 'first pass' that will do grammar checks but not verify the parameters of the opcodes.
This commit is contained in:
@@ -35,6 +35,8 @@ Instruction* CreateInstruction(Mnemonic mnemonic) {
|
||||
}
|
||||
|
||||
instruction->Mnemonic = mnemonic;
|
||||
instruction->ParameterOneType = NoParameter;
|
||||
instruction->ParameterTwoType = NoParameter;
|
||||
|
||||
return instruction;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user