comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Subject: [OT] Assembly language syntax, was: Re: A question about syntax or semantics
Date: Sun, 18 May 2014 14:40:41 +0000 (UTC)
Date: 2014-05-18T14:40:41+00:00	[thread overview]
Message-ID: <llagp9$ova$1@dont-email.me> (raw)
In-Reply-To: ly38g75pmp.fsf@pushface.org

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.

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

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

Simon.

-- 
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world

  reply	other threads:[~2014-05-18 14:40 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     ` Simon Clubley [this message]
2014-05-18 14:50       ` [OT] Assembly language syntax, was: " Simon Wright
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