This is a fork of the updated ACK-8088 with some slight fixes.
You need gcc
and make
installed on your system and available in your environment.
On Ubuntu and on other Debian based systems you can do this easily by running the following command from a terminal and restarting your machine.
sudo apt install build-essential
Run ./asinstall.sh
to build both the assembler and tracer.
To only build the assembler or the tracer, cd
into the respective source folder and run make
.
Assembler source files have an extension ".s". To create a binary for a source named "project.s", enter the command:
as88 project
This performs the assembly, and generates three files:
project.88
— The 8088 binaryproject.#
— A file which links the file positions in the source file to the positions in the binary fileproject.$
— A copy of the source file which contains included secondary sources and satisfies preferred conventions for the assembly process
Once you have assembled project.s, you can trace it with:
t88 -t project
The tracer subwindow for the source file displays the "project.$" version.
Instead of using t88 -t
, you can use t88 -r
. This just runs the program without
displaying the registers and source code as it is running.