Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
f9c30fe1633529333a43f6647ac35b3121720ed8
/
.
/
test
/
cases
/
mcore-square.asm.directives.labels
blob: 3875b8cc63b4859997529b121403a5f6720457dd [
file
] [
log
] [
blame
] [
raw
]
square
:
subi sp
,
16
stw r8
,(
sp
,
8
)
mov r8
,
sp
stw r2
,(
r8
)
ldw r7
,(
r8
)
mult r7
,
r7
mov r2
,
r7
mov sp
,
r8
ldw r8
,(
sp
,
8
)
addi sp
,
16
jmp r15