forming activation records, program memory, and main memory