aboutsummaryrefslogtreecommitdiff
path: root/examples/call.asm
blob: a6557c8d90809340af714dcf69c438e0334132a6 (plain)
1
2
3
4
5
6
7
mov a, 2
call square
hlt

square:
    mul a, a
    ret