Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / msp430 / rrux.s
blob07fc8d5a8db481f556f838a3736a77a09167559c
1 # check that rrux (synthesized as rrc with ZC bit set) works.
2 # mach: msp430
4 .include "testutils.inc"
6 start
8 setc ; set the carry bit to ensure ZC bit is obeyed
9 mov.w #16, r10
10 rrux.w r10
11 cmp.w #8, r10
12 jeq 1f
13 fail
14 1: pass