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