Skip to content

Commit

Permalink
Interpreter_Tables: specify FL_IN_A for twi.
Browse files Browse the repository at this point in the history
rGPR[inst.RA] is an input to twi.
  • Loading branch information
krnlyng committed Aug 27, 2021
1 parent 559de26 commit 9cd8782
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -31,7 +31,7 @@ static std::array<GekkoOPTemplate, 54> primarytable =
{16, Interpreter::bcx, {"bcx", OpType::Branch, FL_ENDBLOCK, 1, 0, 0, 0}},
{18, Interpreter::bx, {"bx", OpType::Branch, FL_ENDBLOCK, 1, 0, 0, 0}},

{3, Interpreter::twi, {"twi", OpType::System, FL_ENDBLOCK, 1, 0, 0, 0}},
{3, Interpreter::twi, {"twi", OpType::System, FL_IN_A | FL_ENDBLOCK, 1, 0, 0, 0}},
{17, Interpreter::sc, {"sc", OpType::System, FL_ENDBLOCK, 2, 0, 0, 0}},

{7, Interpreter::mulli, {"mulli", OpType::Integer, FL_OUT_D | FL_IN_A, 3, 0, 0, 0}},
Expand Down

0 comments on commit 9cd8782

Please sign in to comment.