Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum

Re: Access to flash array Kategorie: Programmierung Assembler (von Torsten - 18.02.2013 20:48)
Als Antwort auf Re: Access to flash array von PeterS - 18.02.2013 17:06
Ich nutze:
C-Control Pro Mega128
> > > > Hi Peter,
> > > >
> > > > Is there a way to access (predefined) flash arrays in an assembler routine?
> > > > Or is the only option to copy the data to an array in RAM?
> > > >
> > > > Regards,
> > > > Pepe
> > >
> > > There is no implemented way to send the 24-bit flash address to the assembler
> > > subroutine. When accessing flash arrays there are special opcodes to copy
> > > bytes from flash to memory.
> > >
> > > Regards,
> > >
> > > Peter
> >
> > Too bad, but thanks! Are you considering to implement this feature in a future
> > release?
>
> I am not sure. To access the flash you have only one addressing mode and you can only
> use the Z-register. It is much easier to copy part of the flash into memory and then
> operate from there.
>
> Regards,
>
> Peter
>
> >
> > Regards,
> > Pepe

 Hello Pepe,

let me guess :-)
You need asm sin cos look up tables?

GruÃ? Torsten



    Antwort schreiben


Antworten: