Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / avr / dev-specific-rmw.c
blob0a8393e4966fefcba9749ad592ebc3251df103f1
1 /* Verify that rmw instructions supported */
2 /* { dg-do assemble } */
4 int main()
6 #ifdef __AVR_ISA_RMW__
7 __asm("xch Z, r12");
8 __asm("las Z, r12");
9 __asm("lac Z, r12");
10 __asm("lat Z, r12");
11 #endif
12 return 0;