summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/int.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-10-18 20:39:56 +0200
committerRoland Reichwein <mail@reichwein.it>2020-10-18 20:39:56 +0200
commit1349c00b782eca3ea841bfa388301cb6fc908cc7 (patch)
tree0d1501368f8df3ffe39ca2e97157a7549b4cf7a5 /asm/intel64/int.cpp
parent0cb5824977dbff51fa7b77c20279b6bd4cb49d78 (diff)
Namespace Asm
Diffstat (limited to 'asm/intel64/int.cpp')
-rw-r--r--asm/intel64/int.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/asm/intel64/int.cpp b/asm/intel64/int.cpp
index a7df338..de6c73b 100644
--- a/asm/intel64/int.cpp
+++ b/asm/intel64/int.cpp
@@ -2,11 +2,11 @@
#include <asm/assembler.h>
-Op_int::Op_int(AsmArgs& args)
+Op_int::Op_int(Asm::Args& args)
{
// At this point, the registration already ensured the number and types of args
- AsmArgs::Immediate8 i {std::any_cast<AsmArgs::Immediate8>(args[0])};
+ Asm::Args::Immediate8 i {std::any_cast<Asm::Args::Immediate8>(args[0])};
if (i.value() == 0) { // INT 0
machine_code = { 0xCE };
@@ -21,7 +21,7 @@ Op_int::Op_int(AsmArgs& args)
namespace {
-bool registered { registerOp(mangleName<AsmArgs::Immediate8>("int"), [](AsmArgs& args) -> std::shared_ptr<Op>{
+bool registered { registerOp(mangleName<Asm::Args::Immediate8>("int"), [](Asm::Args& args) -> std::shared_ptr<Op>{
return std::make_shared<Op_int>(args);
}) };