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