<<< Memory Paragraphs in Real Mode     Index     Memory Access in Real Mode >>>

9. Segment of Memory in Real Mode


  • Every byte of memory, accessible by program, is assumed to reside in a segment.

  • Segment size varies and can range from 1 byte to 64 Kbytes.

  • Nothing is protected within a segment in Real Mode.

  • Segments can overlap.

  • Initializing the data segment register in 16-bit real mode:

  • Numerical (immediate) values cannot be moved directly into the segment register. It is a 2-step process:

        mov ax, 1000h
        mov ds, ax
    
  • Initializing the data segment register:

     

      Initializing the data segment register


<<< Memory Paragraphs in Real Mode     Index     Memory Access in Real Mode >>>