Sign in
gnu
/
binutils-gdb
/
9cd609f8641849d4bbf25f90d5fde58228aeb866
/
.
/
sim
/
testsuite
/
cr16
/
push3.cgs
blob: f9f5c2653c0d0ffb720128a67e42412adacb7276 [
file
] [
log
] [
blame
]
# cr16 testcase for push RA insns.
# mach: cr16
.
include
"testutils.inc"
start
.
global
push1
push1
:
movd $0x1006
,
(
sp
)
movd $0xabcd
,
(
ra
)
push RA
loadd
0x1002
,
(
r3
,
r2
)
cmpd
(
r3
,
r2
),
(
ra
)
beq ok
br not_ok
not_ok
:
fail
ok
:
pass