Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
d1a48657feb203591ff08e52578af81559d14c9c
/
.
/
test
/
filters-cases
/
rx-mas100-square.asm.directives.labels
blob: 11dbdf79dbf55143388ab0ffddfa9bfe7ba39002 [
file
] [
log
] [
blame
] [
raw
]
_square
:
push
.
l r10
push
.
l r6
add
#-4, r0, r6
mov
.
L r6
,
r0
mov
.
L r1
,
[
r6
]
mov
.
L
[
r6
],
r10
mul r10
,
r10
mov
.
L r10
,
r1
add
#4, r0
pop r6
pop r10
rts