mirror of
https://github.com/egormanga/Slang.git
synced 2025-10-15 00:17:16 +03:00
Huge work; i'm too tired to write commit message for all of it. Pleez let me sleep acouple of hours. Made most tests work. Started SBC.
This commit is contained in:
16
asm/hw.asm
Normal file
16
asm/hw.asm
Normal file
@@ -0,0 +1,16 @@
|
||||
bits 64
|
||||
|
||||
;section .rodata
|
||||
hw: db "hw", 0
|
||||
|
||||
.text
|
||||
global _start
|
||||
extern puts
|
||||
_start:
|
||||
push rbp
|
||||
mov rbp, rsp
|
||||
lea rdi, [hw+rip]
|
||||
call puts
|
||||
mov rax, 0
|
||||
pop rbp
|
||||
ret
|
Reference in New Issue
Block a user