Rivoreo Source Code Repositories
src.rivoreo.one
/
devel
/
hello-world
/
a41af878e4a18438716ad915645ccb3456ab30ba
/
.
/
hello-i386-bsd.s
blob: 152e1f9f5c004b4b55b61f19317f168bcb6ee111 [
file
] [
log
] [
blame
] [
raw
]
.section .rodata
helloworld
:
.string
"Hello world\n"
.text
.global _start
_start
:
pushl
$
12
pushl
$
helloworld
pushl
$
1
subl
$
4
,
%esp
movl
$
4
,
%eax
int
$
0x80
addl
$
16
,
%esp
pushl
$
0
subl
$
4
,
%esp
movl
$
1
,
%eax
int
$
0x80