II.1.5 Running ASEM-51 in the Borland-IDE
Turbo C++ (1.0 thru 3.0) users will appreciate the possibility to
invoke ASEM-51 as a transfer program from the Borland IDE.
(DOS versions only!)
For this, the filter program ASEM2MSG for the ASEM-51 error messages
has been provided. To integrate ASEM-51 into the Borland IDE, perform
the following steps:
Now it should be possible, to assemble the file in the active edit
window with ASEM-51, when pressing Shift-F8. The error messages (if any)
should appear in the "Message" window. You can browse through the errors,
and jump into the source text by simply pressing Enter. This even works,
if the error is not in the program itself, but in an include file!
Turbo-Pascal 7.0 users can also employ their Borland IDE for assembly.
To integrate ASEM-51 into the Turbo-Pascal IDE, perform the following steps:
Now ASEM-51 can be invoked with Shift-F8, to assemble the program in the
active edit window, while error messages (if any) appear in the "Messages"
Users of both Turbo C++ and Turbo-Pascal should prefer the
Turbo C++ IDE.
In the Turbo-Pascal 7.0 IDE, the /COLUMNS (or /C) option has no effect!
Turbo-Pascal versions prior to 7.0 didn't implement the Tools menu.
Note that the transfer macro $SAVE CUR saves the contents of the active
edit window (if modified), before ASEM.EXE is invoked! If your assembler
program includes further source files (which may be currently loaded into
other edit windows), better specify $SAVE ALL. This will save the contents
of all (modified) edit windows to disk files, before invoking ASEM.EXE!
If you are not sure, specify $SAVE PROMPT. This will prompt you for every
(modified) edit window to save the contents before running ASEM.EXE. For
further information on transfer macros, refer to the Borland online help!
is not suitable for Win32 versions of the Borland IDE!