Terminal updated on July 14th, 2020 at 01:18 pm

General Purpose Registers

In computer architecture, a processor register is a quickly accessible location available to a computer's central processing unit (CPU). Registers usually consist of a pocket-sized amount of fast storage, although some registers have specific hardware functions, and may exist read-only or write-only. Registers are normally measured by the number of bits they can concur, for example, an "eight-bit annals", "32-bit register" or a "64-fleck register" (or even with more bits).

General Registers or General Purpose Registers are a kind of registers which can shop both data and addresses. All full general registers of the intel 8086 microprocessor can be used for arithmetic and logic operations.

General Purpose Registers (AX,BX,CX,DX,SP,BP,SI,DI) and ALU in Intel 8086

AX (Accumulator)

This is accumulator register. It gets used in arithmetic, logic and data transfer instructions. In manipulation and segmentation, one of the numbers involved must be in AX or AL

BX (Base Annals)

This is base register. BX register is an address register. It usually contain a data pointer used for based, based indexed or register indirect addressing.

CX (Count register)

This is Count annals. This serves as a loop counter. Program loop constructions are facilitated past it. Count register can also exist used every bit a counter in string manipulation and shift/rotate instruction.

DX (Data Register)

This is information register. Information annals can be used as a port number in I/O operations. It is also used in multiplication and sectionalization.

SP (Stack Arrow)

This is stack arrow annals pointing to programme stack. It is used in conjunction with SS for accessing the stack segment.

BP (Base Pointer)

This is base pointer register pointing to data in stack segment. Dissimilar SP, we can use BP to access information in the other segments.

SI (Source Index)

This is source index annals which is used to bespeak to memory locations in the data segment addressed by DS. Thus when we increase the contents of SI, we can easily access consecutive memory locations.

DI (Destination Alphabetize)

This is destination index register performs the same function as SI. There is a grade of instructions called string operations, that employ DI to access the memory locations addressed by ES.

ALU (Arithmetic & Logic Unit of measurement)

This unit can perform various arithmetic and logical operation, if required, based on the pedagogy to be executed. Information technology can perform arithmetical operations, such every bit add together, subtract, increase, decrements, convert byte/word and compare etc and logical operations, such as AND, OR, exclusive OR, shift/rotate and examination etc.

Side by side Read

  • Purposes of segment register in intel 8086
  • Purpose of using flag registers.