answersLogoWhite

0


Best Answer

The instructions have to remain in memory at all times while the program is running. They get there by loading the entire program into memory. The CPU's instruction registers keep track of the current instruction and the next instruction.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How program instructions transfer in and out of memory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What does it mean to run a program?

In computer terminology, "running a program" means copying a sequence of instructions from storage into main memory and initiating the execution or interpretation of those instructions.


What is meant by flow of execution a program?

That means to load a computer program into a computer's memory, and have the computer carry out the instructions in the program.


Which component executes program instructions?

The CPU executes program instructions.


How does the CPU differentiate between command and data?

In general the only difference between commands, or instructions, and data is the context in which each appears. If the CPU is fetching the contents of memory to get the next instruction, then it assumes that the Program Counter register points to commands. If the CPU is executing an instruction that needs to fetch data from memory, the data at the address specified by the instruction are fetched, assuming that the address points to data. This is what allows a program to be loaded into memory in the first place; the part of the operation system responsible for this operation treats the program as data, loading it into memory as instructed in the file. Then the OS branches to a specified place within that memory and begins fetching instructions there. This blurring between instructions and data has also been used in the past to allow a program to modify itself as it executes. This is usually considered poor practice; some operating systems, such as HP's OpenVMS, even set up memory page protections to keep this from happening.


Which program is not a cash-transfer program?

Food Stamps

Related questions

Once in memory the computer can carry out or the instructions in a program?

execute


What memory is used to temporarily to store program instructions.?

ram


Memory is used to temporarily store program instructions.?

ram


What is memory in digital electronic?

Data and program instructions are stored in primary/electronic memory. Explain the concept of electronic memory ''the concept of electronic memory''


Does memory hold program instructions and data immediatley before or after the registers?

yes


Does main memory provide the CPU with a working storage area for program instructions and data?

main memory provides buffers.buffers are the places where program execution takes place.but the CPU is provided with registers(memory units) there CPU can accomodate instructions and the data on which theses instructions are to be operated.from the main memory CPU fetches the instructions one by one and the instruction is processed in the CPU and then sends back the result to the main memory......i think so.thank u


What does it mean to run a program?

In computer terminology, "running a program" means copying a sequence of instructions from storage into main memory and initiating the execution or interpretation of those instructions.


The concept that a series of instructions for a computing task can be loaded into memory is called a stored?

program


What is meant by flow of execution a program?

That means to load a computer program into a computer's memory, and have the computer carry out the instructions in the program.


When did the first computer run a program from memory?

The Manchester Baby was the first computer to run a program from memory, it ran its first program on June 21, 1948. The program was stored in a 32 word CRT based DRAM and consisted of 17 instructions; it ran for 52 minutes before reaching the correct answer of 131,072, after performing 3.5 million operations (for an effective CPU speed of 1.1 kIPS).The modified ENIAC was the second computer to run a program from memory, it ran its first program as a stored-program computer on September 16, 1948. The program was stored in the 100 word Function Table ROM switches as 2 digit instructions (allowing storage for up to 500 instructions).


When you click Paint in the Accessories list Windows Vista loads the Paint program instructions from the computers hard disk into?

Memory


Which component executes program instructions?

The CPU executes program instructions.