1
0
mirror of synced 2025-01-08 20:44:28 +01:00
Christian Dietrich 8d320f3744 Use TDS Layout
2014-10-09 15:20:20 +02:00

23 lines
295 B
C

#include <avr/io.h>
// Produces LPM operations
const char *foo = "abc";
int main() {
char* p = foo;
while (*p) {
UDR = *p++;
}
asm volatile ("break");
}
/*
check-name: String Operations
check-start:
\avr@instr@stepn{1000000}
\avr@test@UDR{abc}
check-end:
*/