fix tokeniseOperands param order
This commit is contained in:
parent
f4fd71a330
commit
9f92eb4766
@ -213,7 +213,7 @@ void parser_instruction(char asmLine[], a64inst_instruction *instr) {
|
||||
strcpy(stringptr, asmLine);
|
||||
|
||||
char *opcode = strtok(stringptr, " ");
|
||||
char *operands = strtok(NULL, "");
|
||||
char *operands = strtok(stringptr, "");
|
||||
|
||||
if(strcmp(opcode, ".int") == 0){
|
||||
//type is directive
|
||||
|
||||
Loading…
Reference in New Issue
Block a user