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.
- 10-21-2007 #1
How software works
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!!
- 10-21-2007 #2
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!"
- 10-22-2007 #3