Solution - Segment register can locate any memory as the base address of the respective segment among the whole memory- Justify the statement

No comments

Question:

"Segment register can locate any memory as the base address of the respective segment among the whole memory"- Justify the statement.


Solution:

8086 can address 2^20 = 1 Mega Byte of memory and 8086 works with 4 segments; Code Segment(CS), Data Segment(DS), Stack Segment(SS), Extra Segment(ES) with this 1 Mega byte of memory. Each of this segment are of 64K Byte and can be positioned anywhere within the 1MB memory space.
These segment registers hold the upper 16 bit of the starting address for last segment and BIU automatically inserts zero for the lowest 4 bits of the 20 bits starting address.

For example, 

if the code segment register is 348AH, then BIU(Bus Interface Unit) inserts zero for the lowest 4 bits to produce 20 bits starting address of code segment in memory which will be 348A0H.
Similarly if 204CH is the data segment register, 204C0H will be the base address of data segment in memory.

In this way, every segments base is defined. So, we cans say that "Segment register can locate any memory cell as the base address of the  respective segment among the whole memory".




Tags:

Microprocessor and Assembly Language, Segment register can locate any memory as the base address of the respective segment among the whole memory- Justify the statement, Segment register can locate any memory as the base address of the respective segment among the whole memory- Justify the statement, Segment register can locate any memory as the base address of the respective segment among the whole memory- Justify the statement




No comments :

Post a Comment