hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/examples/constants.hdass
blob: 227c83bbabf222390b201bbacb13803ffa040d85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[entry: main]

const A = 6
const B = 7
const STATUS = A * B
const SYS_EXIT = 0x3C

proc main
{
    rdi = STATUS
    rax = SYS_EXIT
    syscall
}