> static inline uint32_t get_data_load_end(void)
> {
>  uint32_t tmp;
>
>  asm volatile("ldi %A0, lo8(__data_load_end)" "\n"
>               "ldi %B0, hi8(__data_load_end)" "\n"
>               "ldi %C0, hlo8(__data_load_end)" "\n"
>               "ldi %D0, hhi8(__data_load_end)"
>               : "=r"(tmp));
>  return tmp;
> }

Results in "Register number  above 15 required", a couple of times.
Have to have compiler save temp files to figure out which set.

_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to