mirror of https://github.com/egormanga/Slang.git
17 lines
162 B
NASM
17 lines
162 B
NASM
|
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
|