| 12345678910111213141516171819202122232425262728293031 |
- #include "instruction.h"
- #include <utility>
- using namespace std;
- Instruction::Instruction()
- : command(DIE)
- , params(N)
- , a(0)
- , b(0)
- , c(0)
- {
- }
- Instruction::Instruction(const Instruction& inst)
- : command(inst.command)
- , params(inst.params)
- , a(inst.a)
- , b(inst.b)
- , c(inst.c)
- {
- }
- Instruction::Instruction(Command command, Params params, Parameter a, Parameter b, Parameter c)
- : command(command)
- , params(params)
- , a(a)
- , b(b)
- , c(c)
- {
- }
|