Sign in
qemu
/
qemu
/
984eda58f20763ffb56b7aff34ad60bdeb118eb1
/
.
/
tests
/
tcg
/
s390x
/
hello-s390x-asm.S
blob: 2e9faa160475fb0655f4360eb889abb2c7162caa [
file
] [
log
] [
blame
]
/*
*
Hello
,
World
!
in
assembly.
*/
.globl _start
_start
:
/*
puts
(
"Hello, World!"
);
*/
lghi %r2
,
1
larl %r3
,
foo
lghi %r4
,
foo_end
-
foo
svc
4
/*
exit
(
0
);
*/
xgr
%r2,%
r2
svc
1
.align
2
foo
:
.asciz
"Hello, World!\n"
foo_end
: