mirror of
https://github.com/open-goal/opengoal-vscode.git
synced 2024-10-19 20:47:37 -04:00
misc: handle r0
edge-case when loading value (#172)
This commit is contained in:
parent
f2ffa180f9
commit
121d159c31
|
@ -279,6 +279,13 @@ async function genTypeFields() {
|
|||
} else {
|
||||
loadInstr = line.trim().split(" ")[0];
|
||||
}
|
||||
} else if (line.includes("r0")) {
|
||||
offset = 0;
|
||||
if (line.includes("daddiu")) {
|
||||
loadInstr = "daddiu";
|
||||
} else {
|
||||
loadInstr = line.trim().split(" ")[0];
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue