banner



What Are Some Configurations Of Shift Registers

Registers in Calculator Architecture

Register is a very fast computer memory, used to store data/instruction in-execution.

A Register is a group of flip-flops with each flip-bomb capable of storing ane bit of data. An north-flake register has a group of n flip-flops and is capable of storing binary information of n-bits.

If y'all are non familiar with logic gates concepts, you lot can larn it from hither.

A register consists of a group of flip-flops and gates. The flip-flops hold the binary data and gates control when and how new information is transferred into a register. Various types of registers are available commercially. The simplest register is one that consists of only flip-flops with no external gates.

These days registers are also implemented equally a register file.


Loading the Registers

The transfer of new information into a register is referred to as loading the annals. If all the bits of register are loaded simultaneously with a common clock pulse than the loading is said to exist washed in parallel.


Register Transfer Language

The symbolic note used to describe the micro-operation transfers amidst registers is called Register transfer linguistic communication.

The term register transfer ways the availability of hardware logic circuits that can perform a stated micro-operation and transfer the event of the operation to the same or another register.

The discussion language is borrowed from programmers who utilize this term to programming languages. This programming language is a procedure for writing symbols to specify a given computational process.

Following are some normally used registers:

  1. Accumulator: This is the most common annals, used to store data taken out from the memory.
  2. General Purpose Registers: This is used to store data intermediate results during program execution. It tin can be accessed via assembly programming.
  3. Special Purpose Registers: Users practice not access these registers. These registers are for Computer system,
    • MAR: Memory Address Register are those registers that holds the address for retentiveness unit of measurement.
    • MBR: Memory Buffer Register stores teaching and data received from the memory and sent from the memory.
    • PC: Programme Counter points to the next instruction to be executed.
    • IR: Instruction Register holds the pedagogy to be executed.

Register Transfer

Information transferred from one register to another is designated in symbolic course by means of replacement operator.

R2 ← R1

It denotes the transfer of the data from annals R1 into R2.

Commonly we want the transfer to occur just in predetermined control condition. This can exist shown past post-obit if-and then statement: if (P=i) then (R2 ← R1)

Here P is a control bespeak generated in the command section.


Control Function

A control function is a Boolean variable that is equal to 1 or 0. The control function is shown every bit:

P: R2 ← R1

The control status is terminated with a colon. Information technology shows that transfer functioning can be executed merely if P=1.


Micro-Operations

The operations executed on data stored in registers are called micro-operations. A micro-operation is an elementary operation performed on the data stored in 1 or more registers.

Example: Shift, count, clear and load.

Types of Micro-Operations

The micro-operations in digital computers are of 4 types:

  1. Register transfer micro-operations transfer binary information from one annals to another.
  2. Arithmetic micro-operations perform arithmetic operations on numeric data stored in registers.
  3. Logic micro-operations perform chip manipulation operation on non-numeric data stored in registers.
  4. Shift micro-operations perform shift micro-operations performed on data.

Arithmetic Micro-Operations

Some of the bones micro-operations are addition, subtraction, increment and decrement.


Add Micro-Operation

It is defined past the following statement:

          R3 → R1 + R2        

The above statement instructs the data or contents of register R1 to exist added to data or content of annals R2 and the sum should be transferred to register R3.


Subtract Micro-Performance

Let us again have an instance:

          R3 → R1 + R2' + 1        

In subtract micro-functioning, instead of using minus operator we take 1's compliment and add 1 to the register which gets subtracted, i.e R1 - R2 is equivalent to R3 → R1 + R2' + 1


Increment/Decrement Micro-Performance

Increment and decrement micro-operations are more often than not performed by adding and subtracting 1 to and from the register respectively.

          R1 → R1 + 1        
          R1 → R1 – ane        
Symbolic Designation Description
R3 ← R1 + R2 Contents of R1+R2 transferred to R3.
R3 ← R1 - R2 Contents of R1-R2 transferred to R3.
R2 ← (R2)' Compliment the contents of R2.
R2 ← (R2)' + 1 2's compliment the contents of R2.
R3 ← R1 + (R2)' + ane R1 + the 2's compliment of R2 (subtraction).
R1 ← R1 + 1 Increment the contents of R1 by 1.
R1 ← R1 - 1 Decrement the contents of R1 by 1.

Logic Micro-Operations

These are binary micro-operations performed on the bits stored in the registers. These operations consider each bit separately and treat them as binary variables.

Let us consider the X-OR micro-operation with the contents of two registers R1 and R2.

          P: R1 ← R1 X-OR R2        

In the above argument we have also included a Control Part.

Assume that each annals has 3 bits. Let the content of R1 exist 010 and R2 be 100. The X-OR micro-operation will be:

Registers


Shift Micro-Operations

These are used for serial transfer of data. That means we can shift the contents of the register to the left or right. In the shift left operation the serial input transfers a chip to the correct most position and in shift correct functioning the series input transfers a bit to the left most position.

There are three types of shifts every bit follows:

a) Logical Shift

It transfers 0 through the serial input. The symbol "shl" is used for logical shift left and "shr" is used for logical shift correct.

          R1 ← she R1        
          R1 ← she R1        

The register symbol must exist aforementioned on both sides of arrows.

b) Round Shift

This circulates or rotates the $.25 of register effectually the two ends without whatsoever loss of data or contents. In this, the serial output of the shift register is connected to its series input. "cil" and "cir" is used for circular shift left and right respectively.

c) Arithmetics Shift

This shifts a signed binary number to left or right. An arithmetic shift left multiplies a signed binary number by 2 and shift left divides the number by 2. Arithmetic shift micro-operation leaves the sign chip unchanged considering the signed number remains same when information technology is multiplied or divided by ii.


Arithmetic Logical Unit

Instead of having individual registers performing the micro-operations, computer organization provides a number of registers connected to a common unit chosen as Arithmetic Logical Unit (ALU). ALU is the main and one of the most important unit inisde CPU of computer. All the logical and mathematical operations of calculator are performed hither. The contents of specific annals is placed in the in the input of ALU. ALU performs the given operation and so transfer it to the destination annals.

Registers



Source: https://www.studytonight.com/computer-architecture/registers

Posted by: hicksontwen1956.blogspot.com

0 Response to "What Are Some Configurations Of Shift Registers"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel