1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#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: */