News for hackers. Stuff that matters.
Re:Crash course to Amiga assembly programming by kazinator on Thursday May 11, 2017 @11:12PM (#14321146)
The same engineer who came up with

    dest := source;
and

    memcpy(dest, src, size);
as well as

    obj.set(0);
Numerous assembly languages have destinations on the left.

Some have load/store instructions where the memory is always on one side:

    load [r1], r3   ; --> direction
    store [r1], r3  ; <-- direction
it's a matter of assembler syntax; the "AT&T" syntax used by the GNU assembler and gcc for x86 has destination on the right.

There are no comments on this comment yet.