From 8a2d1dc5c8b6639985d26d1c915048d87d52426b Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 18 Oct 2020 16:59:54 +0200 Subject: Added xor, mov, jmp --- asm/intel64/int.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asm/intel64/int.cpp') diff --git a/asm/intel64/int.cpp b/asm/intel64/int.cpp index 7b682ab..a7df338 100644 --- a/asm/intel64/int.cpp +++ b/asm/intel64/int.cpp @@ -6,7 +6,7 @@ Op_int::Op_int(AsmArgs& args) { // At this point, the registration already ensured the number and types of args - Immediate8 i {std::any_cast(args[0])}; + AsmArgs::Immediate8 i {std::any_cast(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("int"), [](AsmArgs& args) -> std::shared_ptr{ +bool registered { registerOp(mangleName("int"), [](AsmArgs& args) -> std::shared_ptr{ return std::make_shared(args); }) }; -- cgit v1.2.3