Home | History | Annotate | Line # | Download | only in cr16
      1 # cr16 testcase for scs reg
      2 # mach(): cr16
      3 
      4 	.include "testutils.inc"
      5 
      6 	start
      7 
      8 	.global scs
      9 scs:
     10 	mvi_h_condbit 0
     11 	movw $12, r4
     12 	movw $10, r5
     13 	subw r4, r5
     14 	scs r3
     15 
     16 	cmpw $1, r3
     17 	beq ok
     18 not_ok:
     19 	fail
     20 ok:
     21 	pass
     22