How should these be defined?
Exampe 1 (MIPS):
li $rd, IMMED[31:0]
------------------------
lui $rd, IMMED[31:16]
ori $rd,$rd, IMMED[15:0]
li = {
{ "lui", 0, {31, 16} },
{ "ori", 0, 0, {15, 0} }
};
Example 2 (MIPS):
blt $rs,$rt,Label
-------------------
slt $at,$rs,$rt
bne $at,$zero,Label
How should these be defined?
Exampe 1 (MIPS):
li = { { "lui", 0, {31, 16} }, { "ori", 0, 0, {15, 0} } };Example 2 (MIPS):