capturemove

Group: closures

Moves a value from surrounding scope into a closure.

Syntax

    (0)     capturemove affected-closure:r-op target-register-inside-closure:index source:r-op
    

Examples

.function: example/0
    return
.end
    

Related instructions

capturecopy, capture, closure.