From: Gernot F. <ger...@ne...> - 2003-03-05 16:18:59
|
On Wed, 05 Mar 2003, you wrote: > Hi, > I have this code: > > data char disp_buf[7][8]; > > if I say: disp_buf[3][2]=255; > > I get the code properly generated for this statement. > > but if I say: *(disp_buf[3] + 2)=255; I think this is a real bug because the reverse function like this works. 153 ;tmp.c:6: tmp=*(disp_buf[3] + 2); 154 ; genPointerGet 155 ; genNearPointerGet 156 ; genDataPointerGet 0038 85 22 40 157 mov _tmp,(_disp_buf + 0x001a) -- MFG Gernot |