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

Explain about computer architecture, Explain about Computer architecture ...

Explain about Computer architecture Computer architecture is the conceptual design and fundamental operational structure of a computer system. It is a blueprint and functional

Define asynchronous bus, Define asynchronous bus. Asynchronous buses ar...

Define asynchronous bus. Asynchronous buses are the ones in which every item being transferred is accompanied by a control signal that shows its presence to the destination uni

Explain the multiple bus organization structure, Explain the multiple bus o...

Explain the multiple bus organization structure with neat diagram. The multiple bus organization is using more buses instead of one bus to decrease the number of steps needed an

Explain about instruction register and flags, Q. Explain about Instruction ...

Q. Explain about Instruction Register and Flags? The Instruction Register: It comprises the operation code (opcode) and addressing mode bits of the instruction. It assists in

#microprocessor, Program to transfer 10 byte of data from DMS to EMS using ...

Program to transfer 10 byte of data from DMS to EMS using 8086 instructions

How the simulation is done, How the simulation is done Data is entered ...

How the simulation is done Data is entered into the computer and simulation is run. The below scenarios may be tried out: -  Timing of lights varied to see how traffic flow

8086, the block diagram of an 8086 processor

the block diagram of an 8086 processor

Explain formats supported in linux for executable programs, Explain Formats...

Explain Formats supported in Linux for executable programs. Linux supports two formats for executable programs: a. Out-binary format b. ELF - dynamic libraries

Explain the commonly used code optimization techniques, Explain briefly any...

Explain briefly any three of the commonly used code optimization techniques. 1. Common sub expression elimination: In given expression as "(a+b)-(a+b)/4", in such "common

Explain bitwise-inclusive-or operato, Bitwise-Inclusive-OR Operator: i...

Bitwise-Inclusive-OR Operator: inclusive-OR-expression : exclusive-OR-expression inclusive-OR-expression | exclusive-OR-expression The  bitwise-inclusive-OR  operator

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