Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > The Community > Everything BSD > How software works

Forgot Password?
 Everything BSD   For all discussions regarding Free/NetBSD and OpenBSD.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-21-2007   #1 (permalink)
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!!
megerdin is offline  


Reply With Quote
Old 10-21-2007   #2 (permalink)
Linux User
 
hazel's Avatar
 
Join Date: May 2004
Location: Harrow, UK
Posts: 493
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!"
hazel is offline   Reply With Quote
Old 10-22-2007   #3 (permalink)
Just Joined!
 
megerdin's Avatar
 
Join Date: Jul 2007
Location: Sylhet,Bangladesh
Posts: 78
Thank u very much hazel
megerdin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:26 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2