SirCmpwn's assembler (and linker)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assembler Fix for bad macro definitions causing a segfault Feb 3, 2019
common
doc
include Revert "Add relative labels" Jul 10, 2018
linker
scas
scdump
scwrap Fix symbol naming in scwrap Apr 22, 2015
tables
.build.yml
.gitignore
CMakeLists.txt
LICENSE
README.md
generate-tables.sh
runtime.c
scas.1.txt
scdump.1.txt
scwrap.1.txt

README.md

scas

Assembler and linker for z80.

Status

Nearly done. We'd like to get relative labels working so it can compile the KnightOS kernel, and then there are a few more bugs that need to be sorted out. Should be usable now.

Compiling from Source

Compiling under UNIX and Cygwin environments:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install

Compiling on windows is recommended with MSYS2, but will probably work with MinGW as well:

mkdir build
cd build
cmake -G 'MSYS Makefiles' -DCMAKE_BUILD_TYPE=Release ..
make
make install

Don't forget to run the MSYS terminal as admin, or install under MSYS2 binaries with -DCMAKE_INSTALL_PREFIX=/mingw64.

Now read man scas to learn how to use it.

Help, Bugs, Feedback

If you need help with KnightOS, want to keep up with progress, chat with developers, or ask any other questions about KnightOS, you can hang out in the IRC channel: #knightos on irc.freenode.net.

To report bugs, please create a GitHub issue or contact us on IRC.

If you'd like to contribute to the project, please see the contribution guidelines.