32 bites proci
VFX
info at vfx.hu
Sun Aug 1 11:23:11 CEST 2004
Hali!
> Egy 32 bites regiszter irasa BFen:
>
> //DMA0_START_ADDR
> R0.L = SDRAM_START_ADDR;
> R0.H = SDRAM_START_ADDR;
> P0.L = lo(DMA0_START_ADDR);
> P0.H = hi(DMA0_START_ADDR);
> [P0] = R0;
>
> 5 utasitas szukseges ehhez!
>
> Ugyanez egy valodi 32 bites SHARCon:
> R1=SDRAM_START_ADDR
> DM(DMA0_START_ADDR)=R1
> 2 utasitas!
Nem korrekt az osszehasonlitas, mert a BF pointerezik.
Helyesen:
R1=SDRAM_START_ADDR
I0=DMA0_START_ADDR
DM(I0,0)=R1
3 uasitas.
UDV. VFX.
http://www.vfx.hu
More information about the Elektro
mailing list