RE: [AD] 3.9.31 breaks MSVC 4

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


OK, I have started moving my code to a -s file. I have a little question
about accessing members of a structure. Example: to access lpSurface member
of DDSURFACEDESC, I have done this:

      movl ARG1, %eax          /* eax = &src_desc (ARG1) */
      movl 36(%eax), %eax         /* eax = src_desc.lpSurface */

is it right?



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/