1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

MEMORY LAYOUT

High memory addreses

IMAGE imgs/Memory.sli02.gif

Data Segment


Text

(code)

segment

low memory addresses

  • When your program is running its memory is divided into
    three segments, which are:
  1. Text segment, 2. Data Segment, 3. Stack Segment

March 3, 1998

Page 8

C201/TAM