Skip to content

Commit

Permalink
Merge pull request #1438 from nicolasnoble/move-is-li
Browse files Browse the repository at this point in the history
Correcting a couple of instructions from move to li.
  • Loading branch information
nicolasnoble committed Sep 8, 2023
2 parents e696d43 + c4e222d commit 25205c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/disr3000a.cc
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ declare(disADDI) {
declare(disADDIU) {
if (_Rs_ == 0) {
// this is the common pseudo-instruction to load an immediate 16 bits value
dOpCode("move");
dOpCode("li");
GPR(_Rt_);
} else {
dOpCode("addiu");
Expand All @@ -285,7 +285,7 @@ declare(disANDI) {
declare(disORI) {
if (_Rs_ == 0) {
// while rare, this can also be used to load an immediate 16-bits value
dOpCode("move");
dOpCode("li");
GPR(_Rt_);
} else {
dOpCode("ori");
Expand Down

0 comments on commit 25205c2

Please sign in to comment.