I'm using nasm in 64 bits and I get this error:
error: invalid combination of opcode and operands
For this code:
cmp BYTE [rdi + rax], BYTE [rsi + rax]
rdi
is my first argument (char*)rsi
is my second argument (char *)rax
is my cursor
What is wrong in this line? How should I do this?
Thanks in advance!