What does dw, db and ? (question mark) mean in TASM struc?

放肆的年华 提交于 2019-12-13 04:56:18

问题


I'm new to assembly, and now I'm trying to figure out what do the dw, db, and ? mean in a struc.

For example here:

struc segment_descriptor
  seg_length0_15        dw      ?
  base_addr0_15         dw      ?
  base_addr16_23        db      ?
  flags                 db      ?
  access                db      ?
  base_addr24_31        db      ?
ends segment_descriptor

回答1:


"dw" is variable of type WORD, "db" is variable of type BYTE, dd is variable of type double word (int32_t). "?" means the values are not initialized.



来源:https://stackoverflow.com/questions/15934080/what-does-dw-db-and-question-mark-mean-in-tasm-struc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!