Home | History | Annotate | Line # | Download | only in cr16
      1 # cr16 testcase for subw $sr,$dr
      2 # mach(): cr16
      3 
      4 	.include "testutils.inc"
      5 
      6 	start
      7 
      8 	.global subw
      9 subw:
     10 
     11 	movw $0x1234, r4
     12 	movw $0x1111, r5
     13 
     14 	subw r5, r4
     15 
     16 	test_h_gr r4, 0x123
     17 
     18 	pass
     19