#include <avr/io.h>
volatile char table[8];
volatile char * ptable = table;

int main(){
asm volatile(
    "ld __tmp_reg__, %a0"       "\n\t"
    "inc __tmp_reg__"           "\n\t"
    "st %a0+, __tmp_reg__"       "\n\t"                       "\n\t"
    :
    : "e" (ptable)
);
}