01 April 2018

Assembler for Zilog Z80 processor

This DOS command line tool is Assembler compiler for Zilog Z80 processor, written in C language using Borland compiler.

assembler listing

This compiler performs the following functions:

  • reads input file and parses the source code;
  • finds identifiers, commands and numeric symbols;
  • builds a symbolic table and outputs dump list;
  • builds the resulting machine commands in binary file;

The compiler was successfully used in the development of the "Floppy-to-RS232" controller for the firmware of the micro-controller.

Check out the GitHub repository for the source code and sample file. DISCLAIMER: the code was written back in 90th utilising my mediocre C skills back then ;).