I have these two stuctures in c:
typedef struct row_list
{
int gc;
int z;
}row_list;
typedef struct col_list
{
int lsize;
int row_offset;
struct row_list *ptr;
}col_list;
That I want to convert to asm. I have this-
row_list STRUCT
gc DWORD ?
z DWORD ?
row_list ENDS
col_list STRUCT
lsize DWORD ?
row_offset DWORD ?
Lprow_list DWORD ?
col_list ENDS
Am I correct in my understanding that -
struct row_list *ptr
is just a pointer to a row_list structure, thus its just a dword?
regards,
rags
i am not 100% sure but i would assume it to be
Lprow_list row_list <?>
If i am incorrect then sry.
in 32bit applications any pointer has a size of 32bit or DWORD (DD) type.