Sequence of micro -operations to perform a specific function, Computer Engineering

Assignment Help:

Q. Sequence of micro -operations to perform a specific function?

A digital system executes a sequence of micro-operations on data stored in registers or memory. Specific sequence of micro-operations performed is predetermined for an instruction. So an instruction is a binary code specifying a definite sequence of micro-operations to perform a specific function.

For illustration a C program instruction sum = sum + 7 will first be converted to equivalent assembly program:

  • Move data from memory location 'sum' to register R1 (LOAD R1, sum)
  • Add an immediate operand to register (R1) and store the results in R1

(ADD R1, 7)

  • Store data from R1 register to memory location 'sum' (STORE sum, R1).

So several machine instructions may be required (this will differ from machine to machine) to execute a simple C statement. However how will every one of these machine statements be executed with the help of micro-operations? Let's try to explain the execution steps:

  • Fetch instructions.
  • Pass address of Program Counter (PC) to Memory Address Register (MAR).
  • Issue the memory read operation to fetch instruction in Buffer Register for data like (MBR).
  • Increment Program Counter to refer to subsequent instruction in sequence and bring instruction to Instruction Register (IR).
  • Execute instruction
  • Decode instruction to ascertain operation.
  • As one of the operands is already available in R1 register and second operand is an immediate operand thus fetch operand step is not needed. The immediate operand is available in address part of instruction.
  • Perform ALU based addition with R1 and buffer register store result in R1.

So we may have to execute instruction in several steps. For later discussion, for simplicity let's presume that every micro-operation can be completed in one clock period though some micro-operations need memory write/read which may take more time.


Related Discussions:- Sequence of micro -operations to perform a specific function

Interrupt signal interconnection network (isin), Interrupt Signal Interconn...

Interrupt Signal Interconnection Network (ISIN): When a processor wish to transmit an interruption to another processor, then this interrupt initially goes to ISIN, by which it

Backpropagation learning routine, Backpropagation Learning Routine: Co...

Backpropagation Learning Routine: Conversely as with perceptrons there the information in the network is stored in the weights than the learning problem comes down to the ques

State about an active graphics device, State about An active graphics devic...

State about An active graphics device An active graphics device allows the user to communicate with the computer graphically. Generally, this implies that the user is supplyin

Limitation of software engineering, i want to get answer about this topic w...

i want to get answer about this topic what is software engineering and what is its limitation

What do you mean by mouse protocols, Q. What do you mean by Mouse Protocols...

Q. What do you mean by Mouse Protocols? Mouse protocol is the digital code to that signal from the mouse gets converted. There are four main protocols: Microsoft, Mouse Systems

Maximum number of nodes in a binary tree, The maximum number of nodes in a ...

The maximum number of nodes in a binary tree of depth 5 is 31 is the maximum number of nodes in a binary tree

Give some examples of malicious data, Give some examples of malicious data....

Give some examples of malicious data.  In May 2002, the Norton Anti-Virus software for Windows operating systems detects about 61000 malicious programs. Some of them are named

How speech is transmitted in a digital switching environment, How speech is...

How speech is transmitted in a digital switching environment using PCM/TDM? A digital carrier system is a communications system which uses digital pulses quite than analogue si

Instruction per cycle in RISC, Q. Instruction per cycle in RISC? One in...

Q. Instruction per cycle in RISC? One instruction per cycle: A machine cycle is total time taken to fetch two operands from registers perform ALU operation on them and store re

Explain session_start subroutines, Can you give an example of what might be...

Can you give an example of what might be best suited to place in the application_Start and Session_Start subroutines? Application Start - We can place code to initialize var

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