0% found this document useful (0 votes)
61 views1 page

General Purpose CPU Registers Guide

General purpose registers are temporary memory accessed by the processor for input and output data, with specific registers like AX, BX, CX, and DX serving different functions. The architecture determines the size of these registers, with variations for 16, 32, and 64 bits. Additionally, flag registers in the 8086 architecture are 16 bits, with only 9 bits being useful.

Uploaded by

jayesh.s1113
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views1 page

General Purpose CPU Registers Guide

General purpose registers are temporary memory accessed by the processor for input and output data, with specific registers like AX, BX, CX, and DX serving different functions. The architecture determines the size of these registers, with variations for 16, 32, and 64 bits. Additionally, flag registers in the 8086 architecture are 16 bits, with only 9 bits being useful.

Uploaded by

jayesh.s1113
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

General purpose registers

It is a type of temporary memory that can be accessed by the processor during


operations. It can be utilised for input as well as output data.
It can be used for more than one purposes.

AX - Accumulator: It signifies the size of the data bits. It is the most important
register. It involves in every process inlcuding mathematical or logical process.

BX - Base: It stores the starting address of a data.

CX - Count: It stores the value of a variable at every condition.

DX - Destination: It stores the remaining bits of a program. For example, in the


operation of 38bits data in a 32 bit processor, the remaining 6 bits can be stored
in this register.

Where X = size

If architecture is 16bits then Ax, 32bits = EAX, 64bits = RAX

The register are divied into two parts according to the data.
For example, data of 16 bits are divided into 8 bits for each address bus.
AL(lower order) stores the data of 8 bits while the AH(Higher order) stores the
16 to 9 bits if the size is more than 8 bits.

CPU word size/CPU width: It means how many number of bits that can be
processed by CPU. For example, a 32 bit processor is capable of processing
32bits of data.

Flag Registers
In 8086 architecture, it is 16 bit register
9 bits are useful while the remaining are empty.

You might also like