HiveBrain v1.2.0
Get Started
← Back to all entries
gotchaMinor

What is the difference between a microoperation, microinstruction and control word?

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
themicrooperationwhatcontroldifferencebetweenwordandmicroinstruction

Problem

I've seen a few lectures interchangeably use the two words (microinstruction and microoperation). I've found a source that explains the difference between a microoperation and microinstruction, but I have not been able to associate the two to a control word. Books I have referred to have provided definitions of each, but no explanation about the relation amongst the three.

Edit: Could I also get a few examples to help differentiate the three ?

Solution

In traditional horizontal microcode,

  • a micro-operation is the most basic operation achievable by a processor;



  • a micro-instruction is a set of micro-operations which are executable simultaneously;



  • control words are the bit patterns used to encode the micro-instructions.



Micro-operation is also used in current pipelined processors where an instruction is decomposed in a few (included zero) micro-operations or even a few instructions merged in one micro-operation which are then processed independently.

Control word is a far more general term and can refer to any bit patterns used to control any circuit. Its use for the encoding of micro-instructions come from the fact that horizontal micro-code is usually lightly encoded if at all, and thus fields in the encoding control directly parts of the processor. From there it went to be used for the encoding of any kind of micro-instructions. BTW, the area where the micro-program is stored is often called the control store.

Context

StackExchange Computer Science Q#117939, answer score: 2

Revisions (0)

No revisions yet.