www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/02/23/14:32:54

Date: Tue, 23 Feb 93 20:10:29 +0100
From: kuku AT acds DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
To: SAVALLE AT rameau DOT obs-nice DOT fr, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Assembly lang. calls from C++

First you have to know that the gas (gnu assembler) syntax is
different from MASM syntax. movl src,dst vs MOV DST,SRC. Furthermore
the gas syntax. Someone posted a reference to a place where
the assembler docs can be ftp'ed.

A more severe problem is the use of registers and addressing modes
as well as usage of interrupts. 

I cannot describe it all in detail here but it's not as easy
as you might think.

--Chris

- Raw text -


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