Sign in
gnu
/
binutils-gdb
/
e454ae416a050496107f08cb0ae0de518d732a90
/
.
/
sim
/
testsuite
/
msp430
/
rrux.s
blob: 07fc8d5a8db481f556f838a3736a77a09167559c [
file
] [
log
] [
blame
]
# check that rrux (synthesized as rrc with ZC bit set) works.
# mach: msp430
.include
"testutils.inc"
start
setc
;
set the carry bit to ensure ZC bit is obeyed
mov.w
#16, r10
rrux.w r10
cmp.w
#8, r10
jeq
1
f
fail
1
:
pass