removed duped if statement

This commit is contained in:
EDiasAlberto 2024-06-05 21:02:25 +01:00
parent f28d3b4047
commit 8931c151f8

View File

@ -79,11 +79,6 @@ a64inst_instruction *parser(char asmLine[]){
return(instr);
}
if(strcmp(asmLine, HALT_ASM_CMD) == 0){
instr->type = a64inst_HALT;
return(instr);
}
//"opcode operand1, {operand2}, ..."
//duplicated as strtok modifies the input string
char *stringptr = strdup(asmLine);