Computer Science, asked by rohanchaudhary2031, 1 year ago

Difference between segment register and general purpose register in tabular form

Answers

Answered by adityajuneja77
5

General purpose registers are the registers which you can use for data manipulation. They donot have specific purpose. Like registers in register banks, R0-R7. Special purpose registers have a special purpose. If you put data in them the functionalities in the microcontroller or processor will change. For example, TMOD is a special purpose register. It is used for selecting modes of the timers. If you put different values in the TMOD different values of Timers will be selected. Similarly there are lots of special function registers.

Answered by laraibmukhtar55
11

Segment Registers:

Segments are specific areas clear in a program for containing data, code and stack.  

• There are 3 main segments − Code Segment − It contains all the instructions to be executed. A 16-bit Code Segment register or CS register supplies the starting address of the code segment.

General purpose registers:

General purpose registers are used to store momentary data within the microprocessor.

• It is of sixteen bits and is divided into two eight-bit registers  

Hope it helped.......

Similar questions