cLEMENCy architecture is a custom architecture created by legitBS for DEFCON 25. This repository contains an assembler for cLEMENCy architecture, which was developed during the contest period.
$ python clemency_asm.py sample/test.casm output.bin
from clemency_asm import asm
asm('AD r00, r00, r01')
MA! rA, IMM
==
ML rA, IMM & 0b1111111111
MH rA, IMM >> 10