diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-10-17 14:16:46 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-10-17 14:16:46 +0200 |
commit | f86999e137f43372236f2dccd1fe3572a85c0dcd (patch) | |
tree | fedfeec810d22dde57073c5b51ecf1a4253a9c61 /asm/intel64/nop.cpp | |
parent | 85e9768c6a083165ef8376d2924f5d82ce91d118 (diff) |
Separate-out assembler
Diffstat (limited to 'asm/intel64/nop.cpp')
-rw-r--r-- | asm/intel64/nop.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/asm/intel64/nop.cpp b/asm/intel64/nop.cpp new file mode 100644 index 0000000..450de46 --- /dev/null +++ b/asm/intel64/nop.cpp @@ -0,0 +1,11 @@ +#include "nop.h" + +#include <asm/assembler.h> + +namespace { + +bool registered { registerOp("nop", [](AsmArgs& args) -> std::shared_ptr<Op>{ + return std::make_shared<Op_nop>(); + }) }; + +} |