what is Decode or execution cycle?, Basic Computer Science

just the once the instruction has been fetched and is accumulated, the next step is to decode the instruction so as to work out what actions should be performed to execute it. This occupies examining the opcode to observe which of the machine codes in the CPU’s instruction set it communicates to, and also verifying which addressing mode needs to be used to get any required data.
Once the opcode is known, the execution cycle can take place. Different actions require to be carried out dependant on the opcode, without two opcodes requiring the same actions to occur. Though, there are usually four groups of different actions that can occur:
• Move of data between the CPU and memory.
• move of data between the CPU and an input or output devices.
• Processing of data, perhaps involving the use of the arithmetic and logic unit.
• A control operation, with the intention of change the sequence of subsequent operations. These can probably be conditional, based on the values stored at that point within the flag register.
For greater ease, and as describing all the possible instructions:
Mnemonic Description
MOV Moves a data value from one location to another
ADD Adds to data values using the ALU, and returns the result to the accumulator
STO Stores the contents of the accumulator in the specified location
END Marks the end of the program in memory
Posted Date: 5/3/2012 8:16:26 AM | Location : United States







Related Discussions:- what is Decode or execution cycle?, Assignment Help, Ask Question on what is Decode or execution cycle?, Get Answer, Expert's Help, what is Decode or execution cycle? Discussions

Write discussion on what is Decode or execution cycle?
Your posts are moderated
Related Questions
BUSES It can be seen from Figure 4 that there are three buses - the data bus, the address bus, and the control bus. Each bus consists of a group of parallel wires. The da

StatefulServer, maintains some information between requests. Requires smaller messages, since some information is kept between contacts, example: FTP, telnet. Stateless Server req

DUNIYA KA AISA KONSA KOMPUTER HAI. JISME KEYBORD, MOUSE NAHI HAI?

QUESTION (a) Consider the graph below, use the Flow Decomposition technique to list the cycles and paths produced.                                                (b) Pr

The unconditional jumps in a written program in assembler language are specified by the jmp instruction; a jump is to moves the flow of the execution of a program by sending the co

The cost of building and maintaining an organizational computing ecosystem has become a bigger part of most organizations’ budgets. Organizations have been looking for ways to redu

Question 1 What are the differences between closed and open systems? Question 2 What are the characteristics of a good documentation? Question 3 What are the steps invol

Two dimensional Arrays:  A two-dimensional array is like a table, with a defined number of rows, where each row has a defined number of columns. In some instances we need to  hav

#write a c program to print ant and rod #

Assembly language : Assembly language is a low level programming language similar to machine language, but far easier to write and understand because machine language binary in