Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

A register is a small and temporary storage unit inside a computer’s central

processing unit (CPU). It plays a vital role in holding the data required by the
CPU for immediate processing and is made up of flip-flops.
It usually holds a limited amount of data ranging from 8 to 64 bits, depending
on the processor architecture.
Accumulator Register: The accumulator acts as a central point for arithmetic
and logical operations within the CPU. It fetches data from memory and stores
intermediate results during calculations Arithmetic operations such as
addition, subtraction, multiplication, and division often take place in the
accumulator.
Program Counter (PC) Register: The program counter is a special register
that keeps track of the memory address of the next instruction to be fetched
and executed. As the CPU executes each instruction in sequence the program
counter is updated to indicate the next instruction’s address in memory.
General-Purpose Registers: General-purpose registers are versatile because
they can hold data and memory addresses. They are used for various
calculations and data manipulation tasks during program execution.
Instruction Register (IR): The instruction register holds the currently fetched
instruction from memory.
Memory Address Register (MAR): The memory address register stores the
memory address of data or instructions to be accessed or written in memory
Memory Data Register (MDR): The Memory Data Register holds the actual
data fetched from or written to memory.
Stack Pointer (SP): The stack pointer is used in stack-based memory
operations. It keeps track of the top of the stack. which is a region of memory
used for temporary storage of data and return addresses during function calls.
Floating-Point Registers: The Floating-point registers are specialized for
handling floating-point numbers and performing floating-point arithmetic
operations.
Context Switching: the CPU switches between different processes or threads.
it needs to save and restore the context of each process. Registers are used to
store the CPU’s state including the program counter stack pointer and general-
purpose registers during context switching.
Advantages Disadvantages

1. Speed: The Registers offer fast access 1. Limited Capacity: The Registers have a
times due to their proximity to the CPU, small size, restricting the amount of data
enhancing overall system performance. they can hold at a time.

2. Data Processing Efficiency: They 2. Cost: The Registers are made from flip-
enable quick data manipulation, reducing flops and require more hardware,
the need to access slower main memory contributing to the overall cost of the
frequently. processor.

Q1. Why are registers essential in computer systems?


because they provide fast access to data during processing leading to
improved CPU performance and efficiency.
Q2. How do registers contribute to data processing efficiency?
The Registers enable quick data manipulation and reduce the need to access
slower main memory frequently enhancing data processing efficiency.
Q3. Are registers the only form of storage in a CPU?
No, registers are a type of internal storage within the CPU. CPUs also have
other levels of memory hierarchy including cache main memory and secondary
storage with varying capacities and access speeds
1. A register is defined as ___________
a) The group of latches for storing one bit of information
b) The group of latches for storing n-bit of information
c) The group of flip-flops suitable for storing one bit of information
d) The group of flip-flops suitable for storing binary information
Answer: d
Explanation: A register is defined as the group of flip-flops suitable for storing binary
information. Each flip-flop is a binary cell capable of storing one bit of information.
The data in a register can be transferred from one flip-flop to another.

2. The register is a type of Sequential circuit

3. How many types of registers are?

There are 4 types of shift registers, viz., Serial-In/Serial-Out, Serial-In/Parallel-Out,


Parallel-In/Serial-Out and Parallel-In/Parallel-Out.

4. The main difference between a register and a counter is ___________


A register has no specific sequence of states

5. In D register, ‘D’ stands for Data


6. Registers capable of shifting in one direction is Unidirectional shift register.

7. A register that is used to store binary information is called Binary Register

8. A shift register is defined as The register capable of shifting information either to


the right or to the left

9. How many methods of shifting of data are available?

There are two types of shifting of data are available and these are serial shifting &
parallel shifting.

10. In serial shifting method, data shifting occurs One bit at a time

1. Based on how binary information is entered or shifted out, shift registers are
classified into ___4____ categories.

2. The full form of SIPO is Serial-in Parallel-out

3. A shift register that will accept a parallel input or a bidirectional serial load and
internal shift features is called as? c) Universal

4. How can parallel data be taken out of a shift register simultaneously?

Use the Q output of each FF

5. What is meant by the parallel load of a shift register? All FFs are preset with
data

6. The group of bits 11001 is serially shifted (right-most bit first) into a 5-bit
parallel output shift register with an initial state 01110. After three clock pulses,
the register contains 00101

7. Assume that a 4-bit serial in/serial out shift register is initially clear. We wish to
store the nibble 1100. What will be the 4-bit pattern after the second clock pulse?
(Right-most bit first) ) 0000

8. A serial in/parallel out, 4-bit shift register initially contains all 1s. The data
nibble 0111 is waiting to enter. After four clock pulses, the register contains
0111

9. With a 200 kHz clock frequency, eight bits can be serially entered into a shift
register in 40 μs

10. An 8-bit serial in/serial out shift register is used with a clock frequency of 2
MHz to achieve a time delay (td) of 4 us

You might also like