Home | History | Annotate | Line # | Download | only in cr16
movxw.cgs revision 1.1
      1  1.1  christos # cr16 testcase for movw  reg, regp
      2  1.1  christos # mach(): cr16
      3  1.1  christos 
      4  1.1  christos 	.include "testutils.inc"
      5  1.1  christos 
      6  1.1  christos 	start
      7  1.1  christos 
      8  1.1  christos 	.global movw
      9  1.1  christos movw:
     10  1.1  christos 	movw $0x1234, r4
     11  1.1  christos 	movd $0, (r6,r5)
     12  1.1  christos 
     13  1.1  christos 	movxw r4, (r6,r5)
     14  1.1  christos 
     15  1.1  christos 	test_h_grp "(r6, r5)", 0x1234
     16  1.1  christos 
     17  1.1  christos 	pass
     18