Re: [Dev-C++] InLineAssembler in Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2003-10-07 08:10:03
|
Is it very different to what is used by visual C++ / visual studio .NET ?
For example is VC++ I could do
// Add the sum of some integers declared earlier
__asm
{
// eax is the target, move BigInt onto eax.
mov eax, dword ptr[BigInt]
// eax is the target (with BigInt on it), add SmallInt to the target
add eax, dword ptr[SmallInt]
// Move eax onto the new target, the variable that is the result
mov dword ptr[ResultInt], eax
}
std::cout<< ResultInt << std::endl;
Would this simple piece of code be radically different?
Daniel
>From: David McKen <ci...@ya...>
>Reply-To: ci...@ya...
>To: Ursin "Solèr" <urs...@pm...>,
>dev...@li...
>Subject: Re: [Dev-C++] InLineAssembler in Dev-C++
>Date: Mon, 6 Oct 2003 15:11:57 -0700 (PDT)
>
>Yes it does. However it is mingw that supports inline
>assembler not Dev-C++.
>The thing is that mingw supports the AT&T syntax (search
>google you will
>find loads of examples) not the standard i*86 syntax. You
>can probably check
>the documentation at www.mingw.org or just search in
>google.
>
>Happy Coding
>David McKen
>
>
>----- Original Message -----
>From: "Ursin Solèr" <urs...@pm...>
>To: <dev...@li...>
>Sent: Monday, October 06, 2003 5:06 AM
>Subject: [Dev-C++] InLineAssembler in Dev-C++
>
>
> > Hi folks
> >
> > Does Dev-C++ fully support inlineassembling?
> > Does anyone of you have a working example?
> >
> > Thanks, very much!! ;)
> > --
> > Ursin Solèr
> > Physiklaborant
> >
> > Observatorium Davos (PMOD/WRC)
> > Dorfstrasse 33
> > CH-7260 Davos Dorf
> >
> > Tel.: +41 81-417 5144
> > Fax.: +41 81-417 5100
> >
> > http://www.pmodwrc.ch/
> >
> >
>***********************************************************************
> > Zwei Planeten treffen sich im All. "Wie geht's?", fragt
>der eine.
> > "Schlecht", sagt der andere. "Einfach miserabel, ich habe
>Menschen."
> > "Mach dir nichts draus", sagt der eine, "das vergeht."
> >
>***********************************************************************
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > TO UNSUBSCRIBE:
>http://www23.brinkster.com/noicys/devcpp/ub.htm
> >
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you.
http://www.msn.co.uk/internetaccess
|