about summary refs log tree commit diff stats
path: root/apps/ex3.mu
blob: aaef1175304b90c33ade681f3559505cbca39867 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
fn main -> result/ebx: int {
  result <- copy 0
  var i/eax: int <- copy 1
  {
    compare i, 0xa
    break-if->
    result <- add i
    i <- increment
    loop
  }
}