🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42468

Re: Insert the assembly code ...

#42468
From: Brea Torremocha
Date: Tue, 05 Dec 1995 00:00
15 lines
1037 bytes
Friend, there is an very easy method to insert assembly code in GNU 
C++. This method is:

In the C code you must insert this:

asm (" 
       assembler instructions
    ");    

You must know that in the assembler format of GNU, you must indicate
first the source operand and then the destination operand.
  Besides, in the numbers you must put before a $, and in the 
registers a %.

Sorry, but my english isn't good. I'm Spanish.
Technical Details
Message-ID: <4a1l8n$2aq@acebo.sdi.uam.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4a0dl0$9qk@sifon.cc.mcgill.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1e31ed35b459ebf7,start
X-Google-Attributes: gid11318c,public
From: Brea Torremocha <cur2n9>
Subject: Re: Insert the assembly code ...
Date: 1995/12/05
Message-ID: <4a1l8n$2aq@acebo.sdi.uam.es>
X-Deja-AN: 120945684
references: <4a0dl0$9qk@sifon.cc.mcgill.ca>
to: cai@cs.mcgill.ca
content-type: text/plain; charset=us-ascii
organization: Universidad Autonoma de Madrid, Spain
x-url: news:4a0dl0$9qk@sifon.cc.mcgill.ca
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 1.1N (X11; I; SunOS 5.3 sun4m)