What are registers in Microcontroller ?

devquora
devquora

Posted On: Feb 22, 2018

 

Register provides a fast way to collect and store data using microcontrollers and processors.If we want to manipulate data with a controller or processor by performing tasks like addition, subtraction, and so on, we cannot do that directly in the memory, in order to perform these tasks we need registers to process and store the data. Microcontrollers contain several types of registers that can be classified according to their content or instructions that operate on them.
The 8051 microcontroller contains mainly two types of registers:

  • General purpose registers (Byte addressable registers)
  • Special function registers (Bit addressable registers)

The 8051 microcontroller consists of 256 bytes of RAM memory, which is divided into two ways, such as 128 bytes for general purpose and 128 bytes for special function registers (SFR) memory. The memory which is used for general purpose is called as RAM memory, and the memory used for SFR contains all the peripheral related registers like Accumulator, ‘B’ register, Timers or Counters, and interrupt related registers.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    8051 Microcontroller Interview Questions

    What is an interrupt? List various types of interrupts available in 8051 Microcontroller?

    What is an interrupt? List various types of interrupts available in 8051 Microcontroller?..