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
grades computation

How to make a stale marriage program by implementing the Gale Shapley algorithm using Java program

write a basic program for f= a+b+c//2

disvange and advantege of providing intternet sservice to customer

QUESTION (a) You have been asked to design and implement a chat application. Which protocol would you used TCP or UDP? Justify your answer. (b) Explain why multithreading is

To satisfy client needs through proxy server and not through main server, as some other user have already accessed that file and its copied to the proxy server, so next time a user

Ask question #Minimum assignment on generations of computers 100 words accepted#

describe the two fundament purpose of surveying

Advantages:- • Sharing Treads permit the sharing of a lot resources that cannot be shared in process, for instance, sharing code section, data section, Operating System resource

what is the first computer in this world