Machine-translated by Google. Questions are authored in English.
Top

Discussion

The maximum and the minimum size of a segment in 8086 is :

  • A.64 K, 16 bytes
  • B.32 K, 256 bytes
  • C.16 K, 16 bytes
  • D.64 K, 256 bytes

Answer: A

The maximum and minimum segment sizes in the 8086 are 64 K and 16 bytes.

An 8086 offset is a 16-bit number, so a segment can span at most 216 = 65536 bytes, 64 K. A segment must start at an address that is a multiple of 16 (a paragraph boundary), because the 20-bit physical address is the segment register shifted left by four bits plus the offset. Consecutive segment starts are therefore 16 bytes apart, and the smallest segment that does not overlap the next is 16 bytes.

32 K and 16 K understate the 16-bit offset range, and 256 bytes is not the paragraph size.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.