Assembly in DJGPP C++ Files

This is a discussion on Assembly in DJGPP C++ Files within the C++ Programming forums, part of the General Programming Boards category; Is there a way to include assembly statements in DJGPP C++ files? For example, in Borland CBuilder I can write: ...

  1. #1
    stovellp
    Guest

    Assembly in DJGPP C++ Files

    Is there a way to include assembly statements in DJGPP C++ files? For example, in Borland CBuilder I can write:

    Code:
    asm  {
             mov ax, bx;
             }
    and it will compile it into the executable. I have tried this in DJGPP,and it didn't work, so i wondered if its possible and what the syntax of the statments look like?

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Some compilers are Both C++ and Assembly capable, but
    as i said some.....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error opening files in a different dir
    By Ozzie in forum C++ Programming
    Replies: 3
    Last Post: 10-09-2008, 07:55 AM
  2. Working with muliple source files
    By Swarvy in forum C++ Programming
    Replies: 1
    Last Post: 10-02-2008, 09:36 AM
  3. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 03:47 AM
  4. C to assembly interface
    By Roaring_Tiger in forum C Programming
    Replies: 4
    Last Post: 02-04-2005, 03:51 PM
  5. reinserting htm files into chm help files
    By verb in forum Windows Programming
    Replies: 0
    Last Post: 02-15-2002, 09:35 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21