www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/01/10/00:57:46

Date: Sun, 10 Jan 93 00:18:33 EST
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: GAS vs. Intel.

>  Opcode Src,Dest is the way it was on the PDP-11 and I think most of the
>'mainframe' systems.  Doesn't anyone else Find Intel's opcode dest,src
>bakcwards?? I hafta Mnemonic Intel's Mnemonics. :) Load instead of Move.

The first time I had to look at a 68000 assembly language book, I was totally
lost until I realized that the operand order was reversed from Intel's.
Searching through two 68K books, I found no statement of what the operand
order should be.  It's probably a religious issue, but I would argue that
since in most high level languages you would say dest=source, an assembler
shouls use the same order.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019