Skip to content

Commit 830a698

Browse files
committed
add arm64 register aliases
1 parent 1b9535b commit 830a698

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

VTIL-Tests/dummy.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ namespace registers
1515
constexpr auto bx = X86_REG_EBX;
1616
constexpr auto cx = X86_REG_ECX;
1717
constexpr auto dx = X86_REG_EDX;
18+
#elif _M_ARM64 || __aarch64__
19+
constexpr auto ax = ARM64_REG_X0;
20+
constexpr auto bx = ARM64_REG_X1;
21+
constexpr auto cx = ARM64_REG_X2;
22+
constexpr auto dx = ARM64_REG_X3;
1823
#endif
1924
}
2025

0 commit comments

Comments
 (0)