Home | History | Annotate | Line # | Download | only in cr16
      1 # cr16 testcase for st $src1,@$src2
      2 # mach(): cr16
      3 
      4 	.include "testutils.inc"
      5 
      6 	start
      7 
      8 	.global st
      9 st:
     10 	movd $data_loc,  (r4,r3)
     11 	movd $0x12345678, (r6,r5)
     12 
     13 	stord (r6,r5),0(r4,r3)
     14 
     15 	loadd 0(r4,r3), (r1,r0)
     16 	test_h_grp "( r1,r0)", 0x12345678
     17 
     18 	pass
     19 
     20 data_loc:
     21 	.word 0
     22