parse loadliteral into modified struct
This commit is contained in:
parent
004ba24b5a
commit
4139d7a083
@ -307,6 +307,7 @@ void parseSingleTransfer(a64inst_instruction *instr, char *opcode, char *tokens[
|
|||||||
int offset = getOperandNumber(tokens[1]);
|
int offset = getOperandNumber(tokens[1]);
|
||||||
instr->data.SingleTransferData.processOpData.loadLiteralData.offset = offset;
|
instr->data.SingleTransferData.processOpData.loadLiteralData.offset = offset;
|
||||||
} else {
|
} else {
|
||||||
|
instr->data.SingleTransferData.processOpData.loadLiteralData.label = tokens[1];
|
||||||
//offset is literal, use symbol table and calculate difference
|
//offset is literal, use symbol table and calculate difference
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user