comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: [OT] Assembly language syntax, was: Re: A question about syntax or semantics
Date: Sun, 18 May 2014 15:50:14 +0100
Date: 2014-05-18T15:50:14+01:00	[thread overview]
Message-ID: <lyy4xz3zvd.fsf@pushface.org> (raw)
In-Reply-To: llagp9$ova$1@dont-email.me

Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:

> On 2014-05-18, Simon Wright <simon@pushface.org> wrote:
>>
>> Well, considering the various assembler languages around, I'd still
>> be confused but for different reasons: given "mov r0,r1" does r1
>> receive the value in r0 (which is what I'd expect, my first encounter
>> with a 'normal' assembler having been MACRO-32) or does r0 receive
>> the value in r1?
>
> On ARM, with the binutils assembler, it's the other way around.

Um, I mentioned both possibilities.

> BTW, "mov src, dest" versus "mov dest, src" is an attribute of the
> assembler in use, not the architecture.

Yes.

> A very good example would be the gas versus Intel syntax for x86.
> Same architecture, different assembler syntax.

Yes.

You've made the point I was trying to make rather more clearly than I
managed to, I think!

  reply	other threads:[~2014-05-18 14:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-17 22:56 A question about syntax or semantics Victor Porton
2014-05-17 23:05 ` Bill Findlay
2014-05-18  2:47 ` Brad Moore
2014-05-18 10:48   ` Simon Wright
2014-05-18 14:40     ` [OT] Assembly language syntax, was: " Simon Clubley
2014-05-18 14:50       ` Simon Wright [this message]
2014-05-19 17:02 ` Adam Beneschan
2014-05-19 21:35   ` Randy Brukardt
2014-05-19 22:05     ` Bill Findlay
2014-05-19 22:58     ` Robert A Duff
2014-05-20  8:01       ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox