what is Decode or execution cycle?, Basic Computer Science

Assignment Help:
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

Related Discussions:- what is Decode or execution cycle?

Database management help, Suppose that you are writing a stored procedure t...

Suppose that you are writing a stored procedure to record new purchases. Suppose that you know that while your procedure is running, another stored procedure that records shipment

Describe the binary search algorithm, QUESTION 1 Describe the binary se...

QUESTION 1 Describe the binary search algorithm using an example of your own. QUESTION 2 (a) By showing all your workings, give a big-O estimate for f(x) = (x + 1)lo

Define z-transform of sequence x[n], QUESTION (a) Define z-transform o...

QUESTION (a) Define z-transform of sequence x[n]. (b) A causal LTI system has impulse response h[n], for which the z-transform is                     H(z) = (1+z -1

Uninformed search strategies, Uninformed Search Strategies: To be able ...

Uninformed Search Strategies: To be able to undertake a regular search, our entire agent ought to know is the starting state, the possible operators and how to check whether th

Protocol, what protocol is used by DNS name server

what protocol is used by DNS name server

Unix fork program help, Will someone be able to help me with this I have tw...

Will someone be able to help me with this I have two text files that I can send. I am confused, is someone looking at this or is it still waiting to be assigned? this is the code

Outline the five main steps in the web design process, QUESTION (a) Out...

QUESTION (a) Outline the five main steps in the Web Design Process (b) Draw an annotated diagram explaining how data is transmitted to web servers during a standard form sub

Probability, Suppose that of 100 computers checked for viruses 30 where inf...

Suppose that of 100 computers checked for viruses 30 where infected and 70 where not. If we select 10 computers at random what is the probability that at most 4 of them are infecte

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd