Pregunta

Why this following nasm code does not compile :

cmp byte [rdi], byte [rsi]

whereas this code compiles:

mov al, byte [rsi]
cmp byte [rdi], al
¿Fue útil?

Solución

Two indirect arguments are not supported. And why not use cmpsb, which compares these two bytes directly?

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top