Skip to content

PLUS-POSTECH/clemency-asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clemency_asm

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.

Usage

As a standalone binary

$ python clemency_asm.py sample/test.casm output.bin

As a library

from clemency_asm import asm
asm('AD r00, r00, r01')

Macro Instruction

MA!: Move All

MA! rA, IMM
==
ML rA, IMM & 0b1111111111
MH rA, IMM >> 10

About

Assembler for cLEMENCy architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages