#### Test addition and subtraction

section data
format:
string "%d\n\x00"

section functions
import printf
export main

main:
function argc argv
  let x 0
  let y add x 1
  call printf format y
  set x add y -1
  call printf format x
  set x add x y
  call printf format x
  set x sub x x
  call printf format x

  set x sub x 5
  call printf format x
  set y add y x
  call printf format y
  set y sub y x
  call printf format y
  set x sub x -6
  call printf format x
  
  return 0
end function
