Thread: api's and asm

  1. #1
    badboy28
    Guest

    api's and asm

    hello
    i would like to know what a systems API's are? Is that a certain language for the system like C? Also is ASM another language like C? i heard many people talk about this, but never could figure it out.

    thanks

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    an API is a group of functions which allow you to accomplish some task or other basically.For instance through the win32 API you can make a functional window, a dialog box, a file-open dialog etc.
    There are separate API's for multimedia,networking etc.

    All programming languages are converted by compilers,interpretors etc. into machine code.This is just numbers.The processor doesn't understand c/c++ it only understands numbers.Asm is assembly language which is so closely related to machine code it virtually is machine code.The reason for this is that asm is the language of the processor.Again what we type is converted to numbers but this is all done at a much lower level than c/c++ so your app if its written in asm will run faster than if written in c/c++ but it will take you probably about 10 times longer to debug and program.
    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

  3. #3
    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
    In a professional operating system like Win2k there is the Win32, POSIX, and OS2 API. Other API's are created but require wrappers to any one of these.

    The API will protect the operating system and allow it to execute mulitple tasks/processes without conflict. It is a manager of the whole system. There are thousands of published Win32 API calls and a few that are only known to microsoft.

    I compile code with:
    Visual Studio.NET beta2

Popular pages Recent additions subscribe to a feed