2 ms·
> "Unlike the x86-64 assembly syntax we used previously, the destination operand is on the left. " What? In x86 asm notation, destination is always on the left
by SavantIdiot 6y ago
> "Unlike the x86-64 assembly syntax we used previously, the destination operand is on the left. "
What? In x86 asm notation, destination is always on the left.
EDIT: I've only ever used the notation defined by the Intel Programmer's Guide official documentation. My bad.
- bla3 6y agoDepends on if you're using intel asm syntax or at&t asm syntax. On Windows, intel syntax is the default, but on non-windows you get at&t unless you explicitly ask for intel. at&t asm puts destination on the right.
- SavantIdiot 6y agoOh, I was going by the Intel Programmer's Guide, not AT&T syntax.