repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
avr
/
dev-specific-rmw.c
blob
0a8393e4966fefcba9749ad592ebc3251df103f1
1
/* Verify that rmw instructions supported */
2
/* { dg-do assemble } */
3
4
int
main
()
5
{
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
;
13
}