Illustration of an instruction cycle, Computer Engineering

Assignment Help:

Q. Illustration of an instruction cycle?

Instruction cycle displayed in given figure comprises subsequent stages:

  • First address of the subsequent instruction is calculated based on size of instruction and memory organisation. For an illustration if in a computer an instruction is of 16 bits in addition if memory is organized as 16-bits words then address of subsequent instruction is calculated by adding one in address of current instruction. If the memory is organized as bytes that can be addressed independently then we need to add two in current instruction address to obtain the address of next instruction to be executed in series.
  • Now the subsequent instruction is obtained from a memory location to CPU registers like Instruction register.
  • Subsequent state decodes instruction to decide the type of operation desired and operands to be used.
  • In case operands need to be obtained from memory or by Input devices then the address of memory location or Input device is evaluated.
  • Now the operand is obtained (or operands are obtained one by one) from memory or read from Input devices.
  • Next the operation asked by instruction is carried out.
  • Ultimately the results are written back to memory or Output devices wherever desired by calculating the address of operand and then transferring values to desired destination.

Please remember that multiple results and multiple operands are allowed in many computers. An illustration of such a case may be an instruction ADD A, B. This instruction needs operand A and B to be obtained. 

In some machines a single instruction can activate an operation to be carried out on an array of numbers or string of characters. Such an operation engages repeated fetch for operands without fetching instruction again which is the instruction cycle loops at operand fetch.

1757_Illustration of an instruction cycle.png


Related Discussions:- Illustration of an instruction cycle

Explain about magnetic tape, Explain about Magnetic tape      a) They a...

Explain about Magnetic tape      a) They are mostly used for keeping files of data  b )It is one of the cheapest and slowest methods for storage

Break keys, Like a normal read, your input should break on the new line cha...

Like a normal read, your input should break on the new line character "\n"   and also on the up and down arrow keys. You will process the input made by the user when he/she enters

#title.linear programming, zmax=7.5x1-3x2 subject to constraints 3x1-x2-x3>...

zmax=7.5x1-3x2 subject to constraints 3x1-x2-x3>=3 x1-x2+x3>=2 x1,x2,x3>=0

Where can i find conference information, Georg Thimm handles a webpage that...

Georg Thimm handles a webpage that lets you search for upcoming or past conferences in a range of AI disciplines.

Elements of parallel computing and architecture, Elements of Parallel Compu...

Elements of Parallel Computing and Architecture  Parallel computing. Then we shall describe why we need parallel computing and what the heights of parallel processing are. We s

Explain conditions for the critical section problem solution, What are the ...

What are the properties which a data item should possess to implement a critical section? The Critical Section Problem Solution should satisfy the following conditions: 1.

Engineering maths, calculate dy/dx if y=[x-cos(1/cos(xe/2x))]/x

calculate dy/dx if y=[x-cos(1/cos(xe/2x))]/x

Perform binary addition, Q. Explain the following: a. BCD code b. Gra...

Q. Explain the following: a. BCD code b. Gray code c. Excess-3 code d. True complement method Q. Addition-Subtraction-Multiplication-Division: Perform Binary Addi

What are the limitations of traditional payment instruments, What are the l...

What are the limitations of traditional payment instruments? The limitations of traditional payment system are that they take a lot of time.  These systems needs manual work to

Register data type as combinational element, Reg data type as Combinational...

Reg data type as Combinational element module reg_combo_example( a, b, y); input a, b; output y; reg y; wire a, b; always @ ( a or b) begin y = a & b; e

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