Files
ValueScript/concept-code/eg1.vsm
Andrew Morris c9655617fc vsasm -> vsm
2022-04-26 11:10:02 +10:00

13 lines
198 B
Plaintext

@main = function() {
call @f1 [1, 2, 3] %x
apply @f2 %x [] %ignore
mov %x %return
}
@f1 = function(%a, %b, %c) {
op* %b %c %_tmp0
op+ %a %_tmp0 %return
}
@f2 = function() {
op++ %this
}