Tag archive for "entry"

Each module (program or unit) needs some initialization and finalization: entry and exit code.

Interrupt procedures also need some initialization and finalization. Turbo Pascal generates interrupt entry code that saves registers, creates stack frame and sets DS register to data segment.

Procedures and functions (including methods) also need initialization and finalization code.