1 #define PROGMEM __attribute__((progmem))
5 static const char __c[] PROGMEM = (s); \
8 #ifdef __AVR_HAVE_LPMX__
9 #define pgm_read_char(addr) \
11 unsigned int __addr16 = (unsigned int)(addr); \
13 __asm__ ("lpm %0, %a1" \
14 : "=r" (__result) : "z" (__addr16)); \
17 #define pgm_read_char(addr) \
19 unsigned int __addr16 = (unsigned int)(addr); \
21 __asm__ ("lpm" "\n\t" \
23 : "=r" (__result) : "z" (__addr16)); \