Is mov al,31[di]
a valid instruction? If it is, what does it do?
I'm having a debate and I can't access a computer right now (my android phone is not a computer). As you can see I'm pretty new at assembly and on Stack Overflow so sorry for any rule breaking :)
Yes, mov al, 31[di]
is valid x86 assembly in Intel syntax. It is equivalent to mov al, byte ptr[di + 31]
.