SECTION II-1: File register (Data RAM) Space Allocation in PIC micro-controller

The PIC microcontroller has many other registers in addition to the WREG register. They are called data memory space to distinguish them from program (code) memory space. The data memory space in PIC is a read/write (Static RAM) memory. In the PIC microcontroller literature, the data memory is also called the file register.

File Register (Data RAM) Space Allocation in PIC:-

The file register is read/write memory used by the CPU for data storage, scratch pad, and registers for internal use and functions. As with WREG, we can perform arithmetic and logic operations on many locations of the file register data RAM. The PIC micro-controllers file register size ranges from 32 bytes to several thousand bytes depending on the chip. Even within the same family, the size of the file register data RAM varies from chip to chip. The file register data RAM has a byte-size width, just like WREG. The file register data RAM in PIC is divided into two sections:

  1. Special Function Registers (SFR)
  2. General-Purpose Registers (GPR) or General Purpose RAM (GP RAM)


More From