# 1 "demo.c" # 1 "" # 1 "" # 1 "demo.c" # 1 "/usr/avr/avr/io.h" 1 # 20 "/usr/avr/avr/io.h" # 1 "/usr/avr/include/io-avr.h" 1 3 # 46 "/usr/avr/include/io-avr.h" 3 # 1 "/usr/avr/include/io8515.h" 1 3 # 47 "/usr/avr/include/io-avr.h" 2 3 # 21 "/usr/avr/avr/io.h" 2 # 1 "/usr/avr/include/iomacros.h" 1 3 # 21 "/usr/avr/include/iomacros.h" 3 # 1 "/usr/avr/include/inttypes.h" 1 3 # 24 "/usr/avr/include/inttypes.h" 3 typedef signed char int8_t; typedef unsigned char uint8_t; typedef int int16_t; typedef unsigned int uint16_t; typedef long int32_t; typedef unsigned long uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef int16_t intptr_t; typedef uint16_t uintptr_t; # 22 "/usr/avr/include/iomacros.h" 2 3 # 22 "/usr/avr/avr/io.h" 2 # 8 "demo.c" 2 # 1 "/usr/avr/avr/pgmspace.h" 1 # 29 "/usr/avr/avr/pgmspace.h" # 1 "/usr/lib/gcc-lib/avr/3.2/include/stddef.h" 1 3 4 # 201 "/usr/lib/gcc-lib/avr/3.2/include/stddef.h" 3 4 typedef unsigned int size_t; # 30 "/usr/avr/avr/pgmspace.h" 2 # 51 "/usr/avr/avr/pgmspace.h" typedef void prog_void __attribute__((__progmem__)); typedef char prog_char __attribute__((__progmem__)); typedef unsigned char prog_uchar __attribute__((__progmem__)); typedef int prog_int __attribute__((__progmem__)); typedef long prog_long __attribute__((__progmem__)); typedef long long prog_long_long __attribute__((__progmem__)); # 1 "/usr/avr/include/ina90.h" 1 3 # 100 "/usr/avr/include/ina90.h" 3 # 1 "/usr/avr/include/eeprom.h" 1 3 # 22 "/usr/avr/include/eeprom.h" 3 # 1 "/usr/lib/gcc-lib/avr/3.2/include/stddef.h" 1 3 4 # 23 "/usr/avr/include/eeprom.h" 2 3 # 1 "/usr/avr/include/io.h" 1 3 # 25 "/usr/avr/include/eeprom.h" 2 3 # 34 "/usr/avr/include/eeprom.h" 3 extern unsigned char eeprom_rb(unsigned int addr); extern unsigned int eeprom_rw(unsigned int addr); extern void eeprom_wb(unsigned int addr, unsigned char val); extern void eeprom_read_block(void *buf, unsigned int addr, size_t n); # 101 "/usr/avr/include/ina90.h" 2 3 # 62 "/usr/avr/avr/pgmspace.h" 2 static inline unsigned char __lpm_inline(unsigned short __addr) __attribute__((__const__)); static inline unsigned char __lpm_inline(unsigned short __addr) { return ({ unsigned short __addr16 = (unsigned short)(__addr); unsigned char __result; __asm__ ( "lpm" "\n\t" "mov %0, r0" : "=r" (__result) : "z" (__addr16) : "r0" ); __result; }); } # 98 "/usr/avr/avr/pgmspace.h" extern void *memcpy_P(void *, const prog_void *, size_t); extern char *strcat_P(char *, const prog_char *); extern int strcmp_P(const char *, const prog_char *) __attribute__((__pure__)); extern char *strcpy_P(char *, const prog_char *); extern int strcasecmp_P(const char *, const prog_char *) __attribute__((__pure__)); extern size_t strlen_P(const prog_char *) __attribute__((__const__)); extern int strncmp_P(const char *, const prog_char *, size_t) __attribute__((__pure__)); extern int strncasecmp_P(const char *, const prog_char *) __attribute__((__pure__)); extern char *strncpy_P(char *, const prog_char *, size_t); # 9 "demo.c" 2 int main(void) { unsigned char cnt; do { if ((__builtin_constant_p((0xff)) && ((0xff)) <= 0x40 + 0 - (1))) { if (__builtin_constant_p((0x17)) && ((0x17) == 0)) __asm__ __volatile__ ( "out %0,__zero_reg__" : : "M" ((uint8_t)(((0xff))-0)) ); else __asm__ __volatile__ ( "out %1,%0" : : "r" ((uint8_t)((0x17))), "M" ((uint8_t)(((0xff))-0)) ); } else (*((volatile uint8_t *)(((0xff)) - 0 + 0x20))) = (0x17); } while (0); for ( cnt=0xff; cnt > 0; cnt-- ) do { if ((__builtin_constant_p((cnt)) && ((cnt)) <= 0x40 + 0 - (1))) { if (__builtin_constant_p((0x18)) && ((0x18) == 0)) __asm__ __volatile__ ( "out %0,__zero_reg__" : : "M" ((uint8_t)(((cnt))-0)) ); else __asm__ __volatile__ ( "out %1,%0" : : "r" ((uint8_t)((0x18))), "M" ((uint8_t)(((cnt))-0)) ); } else (*((volatile uint8_t *)(((cnt)) - 0 + 0x20))) = (0x18); } while (0); for (;;) ; return 0; }