URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cr16/] [popret3.cgs] - Rev 227
Compare with Previous | Blame | View Log
# cr16 testcase for popret RA insns.
# mach: cr16
.include "testutils.inc"
start
.global popret3
popret3:
movd $0x1006, (sp)
movd $ok, (ra)
lshd $-1, (ra)
stord (ra), 0x1006
popret RA
ok:
pass