blob: 69e2e1e4ece3254c5fb580665cf4c0cb0ba9de89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef SHIFT_H
#define SHIFT_H
#include "instruction.h"
enum InstructionShiftT {
IST_LL, // Left logical
IST_RL, // Right logical
IST_RA // Right arithmetic
};
class InstructionShift : public InstructionR {
public:
InstructionShift(enum InstructionShiftT type, std::uint8_t rt, std::uint8_t rd, std::uint8_t sa);
QVector<QString> to_strs();
private:
enum InstructionShiftT type;
};
class InstructionShiftVariable : public InstructionR {
public:
InstructionShiftVariable(enum InstructionShiftT type, std::uint8_t rs, std::uint8_t rt, std::uint8_t rd);
QVector<QString> to_strs();
private:
enum InstructionShiftT type;
};
#endif // SHIFT_H
|