14 lines
155 B
NASM
14 lines
155 B
NASM
global db main
|
|
|
|
log:
|
|
push byte 0x00
|
|
syscall
|
|
ret
|
|
|
|
main:
|
|
push dw 0x20
|
|
set
|
|
push.string "Hello, world!\n"
|
|
push db log
|
|
call
|
|
|