adressing data from assembler

rompelstilchen:
i need fast refresh, and with c code, the led panel flickers
arduino is not that fast

It's fast enough to generate VGA signals which don't flicker:

I suggest you post your C code rather than trying to convert it all to assembler. By all means look at the generated assembler code, that's what I did. And then work out what lines of C code are generating more assembler code than you though.

To do that, find the .elf file from your compile (turn on verbose compiling) and type this at a command window:

avr-objdump -S -z filename.elf