From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: [OT] Assembly language syntax, was: Re: A question about syntax or semantics Date: Sun, 18 May 2014 14:40:41 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Injection-Date: Sun, 18 May 2014 14:40:41 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="25578"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zzCVqeEQzIBsZ/DGMRIk1yJTBPrllk/Y=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:adbZvVlF/IwxTW6ct7hW1AUgowk= Xref: news.eternal-september.org comp.lang.ada:19877 Date: 2014-05-18T14:40:41+00:00 List-Id: On 2014-05-18, Simon Wright 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