Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

turbo-pascal-assembly

A Deep Dive into the Turbo Pascal Compiled Code (Work in Progress)

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate 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