Find the answer to your Linux question:
Results 1 to 3 of 3
Hi friend I want to know how software works in computer, And how its works with hardware. Is there any how to "How software works" I tried with google but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! megerdin's Avatar
    Join Date
    Jul 2007
    Location
    Sylhet,Bangladesh
    Posts
    78

    How software works


    Hi friend
    I want to know how software works in computer, And how its works with hardware. Is there any how to "How software works"

    I tried with google but theres not any good howto

    would u please help me!!

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,220
    I'm not sure what you mean by "how it works" but here's basically what happens:

    1) Someone writes a program in a computer language like C or Pascal.

    2) A program called a compiler translates it into machine code. In machine code, each line represents a simple thing that the computer can do as a sequence of 1's and 0's. For example, there will be a sequence that means "Add the contents of this address to whatever is currently in the arithmetic unit". And another will mean "Take what is in the arithmetic unit and put it here" or "Jump to this address and treat whatever you find there as the next command". Of course there must also be a second sequence of 1's and 0's to represent (as a binary number) the memory address that the command refers to.

    3) The program and its data are loaded into memory and the commands are obeyed in order (unless one of them is a command to jump).

    It's a lot more complicated in practice, but that should give you the idea.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  3. #3
    Just Joined! megerdin's Avatar
    Join Date
    Jul 2007
    Location
    Sylhet,Bangladesh
    Posts
    78
    Thank u very much hazel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •