I just want to inspect the assembly code of my program to see if he is loading my data in some registers.
I tried with "make" and "build" and selection "disk" as output, but there aren't any new files, besides source and exe file.
I just want to inspect the assembly code of my program to see if he is loading my data in some registers.
I tried with "make" and "build" and selection "disk" as output, but there aren't any new files, besides source and exe file.
Turbo Pascal does not generate any intermediate assembler code to inspect. And since you want to interactively examine it you need a debugger anyway.
There is program called Turbo Debugger, also for DOS and with a similar UI as Turbo Pascal, which should suit your needs. If I remember it correctly, at least some version of it has been released as freely.
As an alternative to using Turbo Pascal, you could try Virtual Pascal, which is 99.9% compatible with BP/TP 7. It's 32 bit, so you don't need DOSBox (or, if I may suggest a better alternative, DOSBox-X) and it generates a full assembler listing if you ask it to do so. The IDE also has a CPU window that shows you the generated code and allows you to single-step though it, highlighting the changed registers.