Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
aeeacceff40a7c6287580fd89310938e220cb349
/
.
/
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