Skip to content

Commit

Permalink
fix: fix simple mistake in nasm.corth
Browse files Browse the repository at this point in the history
  • Loading branch information
HuseyinSimsek7904 committed Apr 16, 2024
1 parent 1d3e0d7 commit f3bd5cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compiler/nasm.corth
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,10 @@ proc push-@8global
in let global output-stream in
output-stream
"rax" output-stream nasm:mov-reg-zero
" mov al, byte [global_" ostrbuf:puts
global nasm:fput-alpha
"]\n" ostrbuf:puts
" push rax\n" ostrbuf:puts
" mov al, [global_" ostrbuf:puts
global nasm:fput-alpha
"]\n" ostrbuf:puts
" push rax\n" ostrbuf:puts
drop
end end

Expand Down
Binary file modified corth
Binary file not shown.

0 comments on commit f3bd5cc

Please sign in to comment.