Catalog · How the catalog works
turbo-pascal-assembly
A Deep Dive into the Turbo Pascal Compiled Code (Work in Progress)
- ★ 7 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
A Deep Dive into the Turbo Pascal Compiled Code
Overview
This is a walkthrough through the compiled code of an basic Pascal program that does nothing. The source was compiled under Turbo Pascal 7.0 (TP7). Because TP7 uses Smart Linking, the final .EXE file will not contain any code or variable that is not called, used, or referenced. The main content within these pages refer to this basic Pascal program. On the final section (Functions/Procedures), we attempt to disassemble and analyze System Library functions and procedures that are normally not included in final .EXE generated for the basic Pascal program. That section will be updated and expanded as we are able to analyze more code.
Table of Contents
- Files in this repository
- System Data
- Text File Type
- File Modes
- DOS Standard Handles
- Main Program
- System Library (Minimal)
- Runtime Error Codes
- Functions and Procedures

