keystone icon indicating copy to clipboard operation
keystone copied to clipboard

Invalid operand on x86 or memory read

Open whoismissing opened this issue 2 years ago • 0 comments

I'm getting an Invalid operand (KS_ERR_ASM_INVALIDOPERAND) exception when assembling the below code.

inst = "mov edx, [rsi | rcx * 4]"
ks.Ks(ks.KS_ARCH_X86, ks.KS_MODE_64).asm(inst)

I'm interested in figuring out what the correct syntax that would work for this or where this could be implemented.

Thanks for the awesome project!

whoismissing avatar Mar 10 '22 16:03 whoismissing