Two indirect arguments are not supported. And why not use cmpsb, which compares these two bytes directly?
NASM: why is cmp byte[rdi], byte[rsi] not compiling?
-
13-06-2023 - |
Frage
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
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow