1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

freestanding: init consts

This commit is contained in:
Delyan Angelov
2019-12-04 00:40:26 +02:00
committed by Alexander Medvednikov
parent 590566f8c4
commit eb20dd39b1
5 changed files with 37 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
pop rdi
mov rsi,rsp
and rsp,-16
call main__main
call main
mov rdi,rax /* syscall param 1 = rax (ret value of main) */
mov rax,60 /* SYS_exit */