Archived
1
0
This repository has been archived on 2025-01-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
asm_libs/examples/HWA/main.asm
T
2022-11-06 18:21:21 +03:00

34 lines
329 B
NASM

format ELF
public _start
extrn print.int
extrn print.bin
extrn print.str
extrn print.nl
extrn exit
macro nl {
call print.nl
}
section '.strtab'
str1 db "Hello world!", 0
section '.text' executable
_start:
push dword 123
call print.int
nl
push dword 123
call print.bin
nl
push str1
call print.str
nl
call exit