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