// readme

ELFC

A C compiler for a CDP1802 based microcomputer running Elf/OS or Mini/DOS. ElfC is based on SubC written by Nils M Holms.

Documentation

Installation

  • Unzip the file elfc_r382.zip into the desired directory
  • Copy the file hello.c into the directory.
  • Use the command elfc hello.c to compile the hello.c to hello.elfos
  • Transfer the hello.elfos file to a microcomputer running Elf/OS or Mini/DOS.
  • Make the file executable using the chmod +x hello.elfos command
  • Run the command hello.elfos to view the β€œHello, World!” message

Design Goals

  • Use the Asm/02 assembler and the Link/02 linker to produce CDP1802 binary code to run as an Elf/OS or Mini/DOS program
  • Create a library based on Mike Riley’s Library/02 standard library.
  • Target both Elf/OS and Mini/DOS as a platform.
  • Target Windows and…