# 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