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

Implication connective - modus ponens rule, Implication connective - Modus ...

Implication connective - Modus ponens rule: We notice that this is a trivial example, so it highlights how we use truth tables: as the first line is the only one when both abo

What are the reasons for feedback in a control system, Question: a) Wha...

Question: a) What are the reasons for feedback in a control system? b) What are the roles of the configuration and fault managers in a real-time system? c) What are stimu

Write a program to input an address, Write a program to input an address i....

Write a program to input an address i.e. 20 Hex and read the byte (char) contents of that address   Answer   include void main() { char prompt; Date: 26th August 2012

Illustration of parallel programming environments, Q. Illustration of paral...

Q. Illustration of parallel programming environments? Let's discuss illustrations of parallel programming environments of Intel paragaon XP/S and Cray Y-MP software. The Cra

Procedure level- levels of parallel processing, Procedure Level Here, p...

Procedure Level Here, parallelism is accessible in the form of parallel executable procedures. In this situation, the design of the algorithm plays a main role. For example eac

Use of overlapped register windows, Q. Use of Overlapped Register Windows? ...

Q. Use of Overlapped Register Windows? Register file comprises 138 registers. Let them be called by register number 0 - 137.  Diagram demonstrates the use of registers: when

Explain control word, What is control word? A control word is a word wh...

What is control word? A control word is a word whose individual bits show the various control signals.

Hat are the advantages and disadvantages of hardwired, What are the advanta...

What are the advantages and disadvantages of hardwired and micro programmed control? Advantages of hardwired control i. Operate at high speed ii Each state of this coun

Define TII, TII stands for? Ans. TII stands for Table of incomplete ins...

TII stands for? Ans. TII stands for Table of incomplete instructions.

What are the advantages of ccs over in-channel signalling, What are the adv...

What are the advantages of CCS over in-channel signalling? The advantages of CCS over in-channel signalling are given below: a. Information can be exchange among the process

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