注册 登录
编程论坛 汇编论坛

把这个嵌套结构体定义 改写成汇编形式

a86819318 发布于 2010-09-19 21:37, 671 次点击
3)、struct  CELLREC {
      char attrib;
      union {char text[201];
         long value;
         struct {long fvalue;
             char formula[201];
            } f;
         } v;
     };
1 回复
#2
东海一鱼2010-09-20 00:52
ste struct
fvalue dd ?
formual db 201 dup (?)
ste ends

ust union
text  db  20 dup (?)
val   dd  ?
uste  ste <?>
ust ends

CELLREC struct
attrib db ?
_ust   ust <?>
CELLREC ends

1