Skip to content
stuffandahalfPublic

About

Assembler for MC6809, HD6309, and other vintage CPUs

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Latest commit

 

History

296 Commits

Folders and files

Repository files navigation

GASMIC

Greg's retargettable assembler written in pure C.

Build Status

Currently targetting

  • Motorola 6809
  • Hitachi 6309
  • Zilog Z80

View the manual here

Requirements

  • An ANSI C99 compiler
  • CMake

Build

Build by running cd src && make clean all

Retargetting

This assembler can be retargetted by adding a new folder within src/targets/ the name of your architecture. You will need to create two files within this folder:

  • arch.h - Contains basic information about your architecture(s).
  • arch.c - Contains the instructions available in your architecture and the registers and addressing modes they support. Additionaly, you will need to update src/targets.h to initialize your architecture for use.

Refer to the default 6x09 target folder for more direction.

About

Assembler for MC6809, HD6309, and other vintage CPUs

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages