GitPedia

Mescc

Mike's Enhanced Small C Compiler for Z80 and CP/M.

From MiguelVis·Updated June 28, 2026·View on GitHub·

MESCC / Mike's Enhanced Small C Compiler ======================================== The project is written primarily in C, distributed under the GNU General Public License v2.0 license, first published in 2020. Key topics include: c-compiler, c-language, cp-m, cpm, mescc.

MESCC / Mike's Enhanced Small C Compiler

MESCC v1.24 - 14 Sep 2021

Mike's Enhanced Small C Compiler for Z80 and CP/M

Copyright (c) 1999-2021 Miguel García / FloppySoftware

MESCC is my project of a C compiler for the CP/M operating system and the Z80 cpu.

http://www.floppysoftware.es

NOTE: This project has been extracted from my RetroProjects repository.

Overview

As it is written in MESCC, it can compile itself.

It is based on the version 1.7 (Oct. 1985) of Small C by Ron Cain, Mike Bernson's and John Hill.

MESCC outputs Z80 assembler code that can be assembled with ZSM/Z80ASMUK (supplied with MESCC), in order to build an HEX file.

The HEX file can be converted to an executable COM file with LOAD (supplied with CP/M 2), HEXCOM (supplied with CP/M 3) or HEXTOCOM (supplied with MESCC).

Also is supplied CCOPT, a peephole optimizer.

I use MESCC for nearly all my software projects.

MESCC image

License

This program is freeware, and it's licensed under the GNU GPL license.

See the file copying.txt for more details.

About this file

This file is only an introduction to MESCC.

Please, read MESCC.TXT for more information.

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from MiguelVis/mescc via the GitHub API.Last fetched: 6/28/2026