delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/02/16/13:26:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Thu, 16 Feb 2006 18:20:38 +0000 (GMT)
From: "A. Wik" <djgpp-l AT aw DOT gs>
To: djgpp AT delorie DOT com
Subject: Re: Converting Intel code
In-Reply-To: <vf66v19d33n0a30eca85q5oth66i5hrq0l@4ax.com>
Message-ID: <20060216174637.Y97604@dynamite.narpes.com>
References: <002d01c62031$9fc98bb0$2432a8c0 AT dcueva> <43d5135f_1 AT x-privat DOT org>
<vf66v19d33n0a30eca85q5oth66i5hrq0l AT 4ax DOT com>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 15 Feb 2006, Brian Inglis wrote:

> On 23 Jan 2006 18:33:21 +0100 in comp.os.msdos.djgpp, "Cristiano"
> <cristiano DOT pi AT NSquipo DOT it> wrote:
> 
> >Diego Cueva wrote:
> >> Brennan's Guide to Inline Assembly
> >> by Brennan "Bas" Underwood.
> >
> >I read that guide, but it's not clear to me (and to my English :-) , I need 
> >a very basic guide).
> >I found a similar guide:
> >http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html
> >which seems a bit clearer to me. But do you know any good guide?
> 
> gas was originally written for the VAX, so any old VAX assembler
> manual or book would give you the basics on what instructions and
> operands look like. 
> 
> The official DEC/Digital/Compaq/HP VAX MACRO and Instruction Set
> Reference Manual AA--PS6GD--TE is available online at:
> http://h71000.www7.hp.com/doc/73final/4515/4515pro.html

However, it should be noted that DEC's MACRO assembler for
VAX/VMS is far more capable than Unix-based ones, having
been designed for serious programming rather than mere
parsing of compiler output.  Very little Unix source code
is in assembly language ever since the operating system
was rewritten in C [1].

DEC's assembler also noticeably influenced Microsoft's
MASM.  Macro keywords like "IRPC", for example, would
hardly appear in MASM by coincidence.

-aw
[1] Even the 7th Edition Unix for the 16-bit PDP/11 that
    preceded the VAX had few assembly language source
    files (*.s) - you may browse the directory tree at:
        http://minnie.tuhs.org/UnixTree/V7/
    (The kernel source is found under /usr/sys/ and most
    of the rest under /usr/src/)

- Raw text -


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