mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
17 lines
394 B
Plaintext
17 lines
394 B
Plaintext
.function_return_true:
|
|
PUSH true
|
|
RET
|
|
.function_main:
|
|
PUSH "John"
|
|
STORE %1
|
|
; `return_true` function
|
|
JMPL function_return_true
|
|
JMPF 3
|
|
; `name` variable
|
|
LOAD %1
|
|
CALL print
|
|
JMP 2
|
|
PUSH "no"
|
|
CALL print
|
|
RET
|