FANDOM


A VM instruction that outputs text or the contents of a memory location to stdout

Usage Edit

out: {string|memory location}

hakkML Example Edit

name: out_example
blocks:
  core:
  entry: {name: 'main', loc: [0,1]}
code:
  main:
    - out: "This string will output to STDOUT."
    - set: [core.0, 42]
    - rem: The next out instruction will output "42" to STDOUT
    - out: core.0
    - exit: 0