add halt command handling
This commit is contained in:
parent
129bdf3954
commit
1d1089634f
@ -74,6 +74,11 @@ a64inst_instruction *parser(char asmLine[]){
|
|||||||
return(instr);
|
return(instr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(strcmp(asmLine, HALT_ASM_CMD) == 0){
|
||||||
|
instr->type = a64inst_HALT;
|
||||||
|
return(instr);
|
||||||
|
}
|
||||||
|
|
||||||
//"opcode operand1, {operand2}, ..."
|
//"opcode operand1, {operand2}, ..."
|
||||||
char *stringptr = strdup(asmLine);
|
char *stringptr = strdup(asmLine);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user