Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the role of segment register?

Answer Posted / shabir gojree lpu, jalandhar

The segment register in the 80806/8088 microprocessor
contains the base address (divided by 16) of a region of
memory. Since the register is 16 bits in size, there are
65,536 possible segment base addresses, ranging from 00000H
to FFFF0H, in increments of 00010H.

After address translation at the instruction level, the
generated 16 bit offset is added to the selected segment
register times 16 to generate a physical address between
00000H and FFFFFH. (If the offset and base go past FFFFFH,
they wrap around back to 00000H.) Since the offset is also
16 bits in size, and since the overlap is only 4 bits
(times 16), then each 64 kb segment overlaps by 16 bytes.

There are four segment registers; CS, DS, ES, and SS,
standing for Code Segment, Data Segment, Extra Segment, and
Stack Segment.

CS is used for opcode fetches. DS is used for normal data.
ES is used for certain string operations as the destination
address. SS is used for stack and frame (BP) data.

The segment registers can be implicitly selected by
context, or they can be explicitly selected with a segment
prefix opcode.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some features of 8051 microcontroller.

1108


What is the purpose of segment register?

890


what are the types of conditional jumps

1167


What all does a microprocessor comprise of?

1044


List various types of interrupts available in 8051 microcontroller?

1016


How many hardware interrupts 8085 supports?

1038


Why the temporary registers w and z are named so I mean we start from a,b,c,d,e then h and l coz h stands for higher bit nd l for lower bit of the address pinted by memory pointer....but wats w and z for?

1069


Write the special functions carried by the general purpose registers of 8086?

960


What is the need for port?

1076


What are the different types of addressing modes?

1018


What are the typical errors associated with using stack in a program?

1066


What is the purpose of the sign flag in 8085?

936


With 12 mhz clock frequency how many instructions (of 1 machine cycle and 2 machine cycle) it can execute per second?

1975


Explain what is microcontroller?

1044


After a pop instruction where does the stack pointer points?

988