2025-09-02 06:42:58 +10:00
|
|
|
global _start
|
|
|
|
|
|
|
|
_start:
|
2025-09-02 07:47:49 +10:00
|
|
|
; InstructionNode(instruction='set', parent=RootNode(statements=[..., InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, Number]), InstructionNode(instruction='add', parent=..., arguments=[VariableReference, Number, VariablePointer]), InstructionNode(instruction='end', parent=..., arguments=[VariableReference])]), arguments=[VariablePointer, Number])
|
|
|
|
mov rax, 66
|
2025-09-02 06:42:58 +10:00
|
|
|
push rax
|
2025-09-02 07:47:49 +10:00
|
|
|
; InstructionNode(instruction='set', parent=RootNode(statements=[InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, Number]), ..., InstructionNode(instruction='add', parent=..., arguments=[VariableReference, Number, VariablePointer]), InstructionNode(instruction='end', parent=..., arguments=[VariableReference])]), arguments=[VariablePointer, Number])
|
|
|
|
mov rax, 69
|
2025-09-02 06:42:58 +10:00
|
|
|
push rax
|
2025-09-02 07:47:49 +10:00
|
|
|
; InstructionNode(instruction='add', parent=RootNode(statements=[InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, Number]), InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, Number]), ..., InstructionNode(instruction='end', parent=..., arguments=[VariableReference])]), arguments=[VariableReference, Number, VariablePointer])
|
|
|
|
; FUCK
|
|
|
|
; InstructionNode(instruction='end', parent=RootNode(statements=[InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, Number]), InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, Number]), InstructionNode(instruction='add', parent=..., arguments=[VariableReference, Number, VariablePointer]), ...]), arguments=[VariableReference])
|
2025-09-02 06:42:58 +10:00
|
|
|
mov rax, 60
|
2025-09-02 07:47:49 +10:00
|
|
|
push QWORD [rsp + 8]
|
2025-09-02 06:42:58 +10:00
|
|
|
pop rdi
|
|
|
|
syscall
|
|
|
|
|