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
List some features of 8051 microcontroller.
What is the purpose of segment register?
what are the types of conditional jumps
What all does a microprocessor comprise of?
List various types of interrupts available in 8051 microcontroller?
How many hardware interrupts 8085 supports?
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?
Write the special functions carried by the general purpose registers of 8086?
What is the need for port?
What are the different types of addressing modes?
What are the typical errors associated with using stack in a program?
What is the purpose of the sign flag in 8085?
With 12 mhz clock frequency how many instructions (of 1 machine cycle and 2 machine cycle) it can execute per second?
Explain what is microcontroller?
After a pop instruction where does the stack pointer points?