Re: [Dev-C++] How to implement ASM instructions?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Hongli L. <h....@ch...> - 2002-06-10 11:46:07
|
On Mon, 2002-06-10 at 08:28, Klakier wrote:
> Hi all
>
> I have just changed Visual C++ to great DEV-C++, and I have small
> problem.
> When I wanted to join assembler code to my CPP file I must type:
>
> __asm
> {
> mov 0x077, dx
> in al, dx
> and al, 0xE0
> }
>
> How can I do the same in DEV-C++?
>
__asm("put your asm instructions here");
You should read the GCC manual.
http://www.gnu.org/manual/
|