I FIXED THE STACK ISSUES LESS GOOO

This commit is contained in:
SpookyDervish
2025-09-06 21:08:14 +10:00
parent 85331b4067
commit daf42eba09
3 changed files with 6 additions and 5 deletions

View File

@@ -9,14 +9,14 @@ _start:
; InstructionNode(instruction='set', parent=RootNode(statements=[..., InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, Int]), InstructionNode(instruction='stdlnout', parent=..., arguments=[VariableReference]), InstructionNode(instruction='end', parent=..., arguments=[VariableReference])]), arguments=[VariablePointer, String])
lea rax, [.LC0]
push rax
lea rax, .LC1
mov rax, .LC1
push rax
; InstructionNode(instruction='set', parent=RootNode(statements=[InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, String]), ..., InstructionNode(instruction='stdlnout', parent=..., arguments=[VariableReference]), InstructionNode(instruction='end', parent=..., arguments=[VariableReference])]), arguments=[VariablePointer, Int])
mov rax, 123
push rax
; InstructionNode(instruction='stdlnout', parent=RootNode(statements=[InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, String]), InstructionNode(instruction='set', parent=..., arguments=[VariablePointer, Int]), ..., InstructionNode(instruction='end', parent=..., arguments=[VariableReference])]), arguments=[VariableReference])
mov rsi, [rsp + 16]
mov rdx, [rsp + 24]
mov rdx, [rsp + 8]
mov rax, 1
mov rdi, 1
syscall