old-cross-binutils/sim/testsuite/v850eq-elf/t-ldsr.s
1997-09-16 07:01:57 +00:00

13 lines
171 B
ArmAsm

.include "t-macros.i"
start
# check that a ldsr/stsr instruction clears reserved bits
mov -1, r1
ldsr r1, psw
stsr psw, r2
sub r1, r2
be bad
exit0
bad:
exit47