parse loadliteral into modified struct

This commit is contained in:
EDiasAlberto 2024-06-14 20:19:49 +01:00
parent 004ba24b5a
commit 4139d7a083

View File

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