MSP430: Fix simulator execution of RRUX instruction
[deliverable/binutils-gdb.git] / sim / testsuite / sim / msp430 / rrux.s
CommitLineData
b7dcc42d
JL
1# check that rrux (synthesized as rrc with ZC bit set) works.
2# mach: msp430
3
4.include "testutils.inc"
5
6 start
7
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
This page took 0.026216 seconds and 4 git commands to generate.