ASM: fixed small bug in the assembler
This commit is contained in:
parent
184cba5adf
commit
af71b6e75e
@ -359,7 +359,7 @@ struct imm_ret_t *parse_immediate(char* str,struct assembler_context_t *assemble
|
||||
int64_t assemble_line(char *line, struct assembler_context_t *assembler_context){
|
||||
uint16_t opcode;
|
||||
int x=0;
|
||||
int call;
|
||||
int call=1;
|
||||
while(line[x]==' ')x++;
|
||||
if(line[x]==0||line[x]=='#')
|
||||
return -1;//empty line or comment
|
||||
|
Loading…
Reference in New Issue
Block a user