]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/msp430/nop-unknown-intr.s
MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown...
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / msp430 / nop-unknown-intr.s
1 .text
2
3 ;;; Test for warnings when an instruction might change interrupt state, but
4 ;;; the assembler doesn't know whether interrupts will be enabled or disabled.
5 ;;; "MOV &FOO,R10" is used as an artbitrary statement which isn't a NOP, to
6 ;;; break up the instructions being tested.
7
8 ;;; Moving a value in memory into SR might change interrupt state
9 MOV &FOO,R2
10
11 MOV &FOO,R10
12
13 ;;; Moving a value from a register into SR might change interrupt state
14 MOV R7,R2
15
16 MOV &FOO,R10