aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/instructions/shift.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/instructions/shift.cpp')
-rw-r--r--qtmips_machine/instructions/shift.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qtmips_machine/instructions/shift.cpp b/qtmips_machine/instructions/shift.cpp
index a8c6e41..34bc1c9 100644
--- a/qtmips_machine/instructions/shift.cpp
+++ b/qtmips_machine/instructions/shift.cpp
@@ -5,8 +5,8 @@ InstructionShift::InstructionShift(enum InstructionShiftT type, std::uint8_t rt,
this->type = type;
}
-std::vector<std::string> InstructionShift::to_strs() {
- std::vector<std::string> str = this->InstructionR::to_strs();
+QVector<QString> InstructionShift::to_strs() {
+ QVector<QString> str = this->InstructionR::to_strs();
str.erase(str.begin() + 1); // Drop rs field
switch (this->type) {
case IST_LL:
@@ -30,8 +30,8 @@ InstructionShiftVariable::InstructionShiftVariable(enum InstructionShiftT type,
this->type = type;
}
-std::vector<std::string> InstructionShiftVariable::to_strs() {
- std::vector<std::string> str = this->InstructionR::to_strs();
+QVector<QString> InstructionShiftVariable::to_strs() {
+ QVector<QString> str = this->InstructionR::to_strs();
str.erase(str.begin() + 4); // Drop sa field
switch (this->type) {
case IST_LL: