Emulator and assembler for the Sigma16 architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Máté Kukri a41a4ee05d Bump libkm version 10 months ago
doc Remove exe format that was never implemented 10 months ago
libkm@9b12c68cf6 Bump libkm version 10 months ago
src Bump libkm version 10 months ago
tools New assembler in C 1 year ago
.gitignore Add simple disassembler 10 months ago
.gitmodules Port to upstream libkm 11 months ago
Makefile Add simple disassembler 10 months ago
license.txt Minor code changes. Added readme + license. 1 year ago
readme.md Minor code changes. Added readme + license. 1 year ago

readme.md

s16emu

C program that emulates a Sigma16-like CPU. It strives for minimalistic and easy to understand code. It aims not to rely on undefined behaviour when compiled with a C99-compliant compiler, and to fully conform to the behaviour specified in doc/isa.md.

While it seem to run current Sigma16 code out there just fine, complete matching of the JS Sigma16 emulator's behaviour is an explicitly stated non-goal. When said JS emulator exhibits somewhat sane and consistent behaviour the ISA specification and this emulator tries to match it, otherwise consistency is preferred over 100% compatiblity.