fix tokeniseOperands param order

This commit is contained in:
EDiasAlberto 2024-06-12 16:54:38 +01:00
parent f4fd71a330
commit 9f92eb4766

View File

@ -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