Skip to content

Commit

Permalink
Todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-M-Lucas committed Jun 8, 2024
1 parent ad80498 commit 6e668e4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
26 changes: 13 additions & 13 deletions build/out.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

section .text

_1:
push rbp
mov rbp, rsp
mov qword [rbp-8], 0
mov rax, qword [rbp+16]
mov qword [rbp-16], rax
mov rax, qword [rbp-8]
sub rax, qword [rbp-16]
mov qword [rbp+24], rax
leave
ret

main:
push rbp
mov rbp, rsp
Expand All @@ -20,16 +33,3 @@ main:
leave
ret

_1:
push rbp
mov rbp, rsp
mov qword [rbp-8], 0
mov rax, qword [rbp+16]
mov qword [rbp-16], rax
mov rax, qword [rbp-8]
sub rax, qword [rbp-16]
mov qword [rbp+24], rax
leave
ret

Binary file modified build/out.o
Binary file not shown.
Binary file modified build/out.out
Binary file not shown.
1 change: 1 addition & 0 deletions todo.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

2. Add support for builtin function
3. Add function/method calling
4. Finish off evaluable compilation
5. Finish of handling of remaining lines
Expand Down

0 comments on commit 6e668e4

Please sign in to comment.