blob: dd89ecdf5e67bc6972696d068c6ff97a96f892d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "trivials.h"
#include <asm/assembler.h>
namespace {
bool registered {
registerOp("nop", [](Asm::Args& args) -> std::shared_ptr<Op>{
return std::make_shared<Op_nop>();
}) &&
registerOp("ret", [](Asm::Args& args) -> std::shared_ptr<Op>{
return std::make_shared<Op_ret>();
}) &&
registerOp("syscall", [](Asm::Args& args) -> std::shared_ptr<Op>{
return std::make_shared<Op_syscall>();
})
};
}
|