Skip to content
Snippets Groups Projects
Commit e9d3a62f authored by Nguyen Anh Quynh's avatar Nguyen Anh Quynh
Browse files

regress: fix x64_comiss.py

parent 37567f84
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@
# Test LOOP imm
# Github issue: #95
# Github issue: #92
# Author: Nguyen Anh Quynh
from keystone import *
......@@ -14,7 +14,7 @@ class TestX86(regress.RegressTest):
# Initialize Keystone engine
ks = Ks(KS_ARCH_X86, KS_MODE_64)
encoding, _ = ks.asm(b"comiss xmm0, xmmword ptr [rip + 0x1ca568a]", 0x07FF6BF90CACF)
encoding, _ = ks.asm(b"comiss xmm0, dword ptr [rip + 0x1ca568a]", 0x07FF6BF90CACF)
self.assertEqual(encoding, [ 0x0F, 0x2F, 0x05, 0x8A, 0x56, 0xCA, 0x01 ])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment