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
Explain what is sim and rim instructions?
What are the different types of instructions responsible for data transfer instructions.
How many hardware interrupts 8085 supports?
What is the purpose of data moving instructions? Name any two such instructions?
Explain what is the difference between isr & function call?
What is the structure of psp?
What are the different types of arithmetic operations that can be performed by the 8085 microprocessor? Explain with an example?
Explain db?
Which interrupt in the 8086 has the highest priority?
Explain two ways of converting a two input nand gate to an inverter?
What is function of ale in 8085 microprocessor?
what is the undefined bits in flag registers of 8085 microprocessor?
What are the steps involved in communication of 8085 microprocessor with the memory?
What are software interrupts?
What is the difference between harvard architecture and von neumann architecture?