Watched Topics Watched Topics   Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in   FAQ FAQ   Search Search    Register Register 
Stored program architecture

 
Post new topic   Reply to topic    CouponMountain Forum Index -> Computers
View previous topic :: View next topic  
Author Message
mukesh11



Joined: 21 Apr 2009
Posts: 1

PostPosted: Tue Apr 21, 2009 7:10 pm    Post subject: Stored program architecture Reply with quote

The defining feature of modern computers which distinguishes them from all other machines is that they can be programmed. That is to say that a list of instructions (the program) can be given to the computer and it will store them and carry them out at some time in the future.

In most cases, computer instructions are simple: add one number to another, move some data from one location to another, send a message to some external device, etc. These instructions are read from the computer's memory and are generally carried out (executed) in the order they were given. However, there are usually specialized instructions to tell the computer to jump ahead or backwards to some other place in the program and to carry on executing from there. These are called "jump" instructions (or branches). Furthermore, jump instructions may be made to happen conditionally so that different sequences of instructions may be used depending on the result of some previous calculation or some external event. Many computers directly support subroutines by providing a type of jump that "remembers" the location it jumped from and another instruction to return to the instruction following that jump instruction.

Program execution might be likened to reading a book. While a person will normally read each word and line in sequence, they may at times jump back to an earlier place in the text or skip sections that are not of interest. Similarly, a computer may sometimes go back and repeat the instructions in some section of the program over and over again until some internal condition is met. This is called the flow of control within the program and it is what allows the computer to perform tasks repeatedly without human intervention.
----------
mukesh
<a href="http://www.drugstrategies.org/Treatment/Colorado"rel="dofollow">Colorado Drug Treatment Centers</a> - Colorado Drug Treatment Center
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CouponMountain Forum Index -> Computers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Home | About Us | Contact Us | Add Your Coupons | Site Map | Privacy Policy | Terms & Conditions