1 #define u1 struct { byte; word; }
\r
2 #define u2 struct { word; byte; }
\r
3 #define u3 struct { array[2] of u1; array[3] of u2; }
\r
4 #define u4 struct { array[3] of u1; array[2] of u2; }
\r
5 #define u5 struct { dword; u3; u4; array[5] of word; }
\r
13 const array[4] of u1 const1=[{0x00,0x0000},{0x01,0x0001},{0x02,0x0002},{0x03,0x0003}];
\r
14 const array[4] of u2 const2=[{0x0000,0x00},{0x0001,0x01},{0x0002,0x02},{0x0003,0x03}];
\r
16 var5.1.0[index].0=const1[index].0+(index*0x03);
\r
17 var5.1.0[index].1=const1[index].1*(b2w(index)-0x1234);
\r
18 var5.2.1[index].0=const1[index].1&(b2w(index)/0xABCD);
\r
19 var5.2.1[index].1=const1[index].0^(!index);
\r
23 dword tmp=0x1234FEDC;
\r
29 array[7] of array[8] of array [9] of byte tmp;
\r
31 tmp[0x02][0x01][0x00]=index;
\r
35 array[10] of u5 tmp;
\r