customasm 0.13.12

An assembler for custom, user-defined instruction sets!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#ruledef
{
    emit {x: i8} => x
    test {x} => {
        y = x
        asm { emit {y} * 0x10 }
    }
}

test 3         ; = 0x30
test 1 + 2     ; = 0x30
test 1 + 2 + 3 ; = 0x60