Rivoreo Source Code Repositories
src.rivoreo.one
/
devel
/
hello-world
/
b00e5117220728709481010fac958a972188dbc9
/
.
/
hello-powerpc-linux.s
blob: 56d2aa6e20fe875cc63dc807fbeac05ccc19429b [
file
] [
log
] [
blame
] [
raw
]
.section .rodata
helloworld
:
.string
"Hello world\n"
.text
.global _start
_start
:
li r5
,
12
lis r4
,
helloworld
@
ha
la r4
,
helloworld
@
l
(
r4
)
# Equivalent to addi r4, r4, helloworld@l
li r3
,
1
li r0
,
4
sc
li r3
,
0
li r0
,
1
sc