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
13
14
15
16
#ruledef
{
    emit {x: i8} => x
    
    test2 {x} => {
        y = 0x10 + x
        asm { emit {y} }
    }

    test1 {x} => {
        y = 0x10 + x
        asm { test2 {y} }
    }
}

test1 2 ; = 0x22