Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
8fe1b6ebf3d6fc4a270a3b7885db41575a54ec92
/
.
/
test
/
filters-cases
/
rx-mas100-square.asm
blob: df5e0ba28937222a736b34b10a6e9bf7efe501bb [
file
] [
log
] [
blame
] [
raw
]
.
SECTION P
,
CODE
.
GLB _square
_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
.
ident
"GCC: (GNU) 9.0.1 20190425 (experimental)"