Turbo C

This is a discussion on Turbo C within the C Programming forums, part of the General Programming Boards category; how can i use inline asm in Turbo C...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    30

    Turbo C

    how can i use inline asm in Turbo C

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    OH MY GOD!

    You've asked this question like 4 times already!

    Look in compiler help files!

    Look in the manual that came with it!

    Look at the website!

    Search google!

    Go read one of the multitudes of replies you got the first 17 times you posted!

    Or, start playing with it yourself!

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    30

    help!!

    It's really funny everyone tell me to look in the files

    but i looked and there is nothing about asm inline

    the readme file tell that there is info about inline in the guide but i dont know from where i can get this guide

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    have a look around the borland website maybe....
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    30
    i looked in the site

  6. #6
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Did you try any of these?

    Originally posted by Ken
    asm(mov ah,9)
    asm mov ah,9
    _asm mov ah,9
    __asm mov ah,9

  7. #7
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    I have no idea if this is of any help to you as I do not own Turbo C, but if not there were plenty more links relating to inline ASM and Turbo C on Google

  8. #8
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    {DNW} is *obsessed* with assembly.
    I think I know the syntax with borland's compilers


    Code:
    asm {
          mov ah, 9
    }

  9. #9
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    In all fairness to {dnw} he has asked other asm related questions besides this one. Anyway, I tried nick's and it works but you will have to read those documents. It is easier to just link your asm files to your c files.

    Are you just asking these questions for no reason or have you started learning asm yet?

  10. #10
    Registered User
    Join Date
    Aug 2001
    Posts
    30
    i'm learning asm

    someone know from where i can download borland c

    i didn't find it in borland site

  11. #11
    Blank
    Join Date
    Aug 2001
    Posts
    1,034

  12. #12
    Registered User
    Join Date
    Aug 2001
    Posts
    30
    i asked for borland c not borland c++

  13. #13
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    You can compile anything in Borland C++ that you could with Borland C

  14. #14
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    Assembly lanuage programming is related to the microprocessor, therefore a programmer has to get this information from intel. Inline assembly should be somewhere in the compiler documentation. I believe that you will still have to make sure it will work with your processor. It's likely that if you acquire a newer compiler than it will have more information. All I know is that almost nobody wants to use assembly any more unless they are writing an operating system.
    I compile code with:
    Visual Studio.NET beta2

  15. #15
    Registered User biosx's Avatar
    Join Date
    Aug 2001
    Posts
    230
    Originally posted by Witch_King
    All I know is that almost nobody wants to use assembly any more unless they are writing an operating system.
    I don't really agree with this. I think alot of C developers like to speed up their code by using ASM. I don't know ASM myself, however I was thinking about learning 8086 just for the added control I can have when I code C.

    The only thing I don't like is that different compilers support different ways of squeezing the ASM in there. I use DevC++ when I'm in Windows (GCC/Vi for Linux) and I don't think they have even documented support for inline ASM.

    Oh well, keep it up {Dnw}, you'll get there someday

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help creating game with Turbo C
    By Trafalgar Law in forum Game Programming
    Replies: 10
    Last Post: 09-17-2008, 07:54 AM
  2. Remember Turbo? It is comming back
    By Mario F. in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2006, 02:26 PM
  3. Turbo Assembler
    By darkknight1984 in forum Tech Board
    Replies: 2
    Last Post: 03-10-2005, 01:05 PM
  4. What is Borland and Turbo
    By pratapgj in forum C Programming
    Replies: 1
    Last Post: 07-30-2002, 12:36 PM
  5. Turbo C 2.01
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 05-10-2002, 10:59 AM

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