vextoly/cryn

[# conditional selection: max of two stored cells #]
make string "\n" nl

define newline result nothing
  address nl
  output text
  set nothing
  return
end

define main
  make int64 a
  make int64 b

  set 17
  move a
  write
  set 42
  move b
  write

  move a
  read
  push
  move b
  read
  compare
  jump takeB when greater

  move a
  read
  output
  return

  mark takeB
  move b
  read
  output
  return
end