汇编 数据类型定义

来源:互联网 发布:河北快三遗漏数据查询 编辑:程序博客网 时间:2024/06/05 14:49

Description:
 
                            Integer
    Type    Abbr  Size      Range        Types Allowed
  +-------+-----+---------+------------+----------------------------------+
  | BYTE  | DB  | 1 byte  | -128 to    | Character, String                |
  |       |     |         | +255       |                                  |

  +-------+-----+---------+------------+----------------------------------+
  | WORD  | DW  | 2 bytes | -32,768 to | 16-bit near ptr, 2 characters,   |
  |       |     |         | +65,535    | double-byte character            |
  +-------+-----+---------+------------+----------------------------------+
  | DWORD | DD  | 4 bytes | -2Gig to   | 16-bit far ptr, 32-bit near ptr, |
  |       |     |         | +4Gig-1    | 32-bit long word                 |
  +-------+-----+---------+------------+----------------------------------+

  | FWORD | DF  | 6 bytes |    --      | 32-bit far pointer               |
  +-------+-----+---------+------------+----------------------------------+
  | QWORD | DQ  | 8 bytes |    --      | 64-bit long word                 |
  +-------+-----+---------+------------+----------------------------------+
  | TBYTE | DT  |10 bytes |    --      | BCD, 10-byte binary numbers      |
  +-------+-----+---------+------------+----------------------------------+
  +-------+-----+---------+------------+----------------------------------+

  | REAL4 | DD  | 4 bytes |    --      | Single-precision floating point  |
  +-------+-----+---------+------------+----------------------------------+
  | REAL8 | DQ  | 8 bytes |    --      | Double-precision floating point  |
  +-------+-----+---------+------------+----------------------------------+
  | REAL10| DT  |10 bytes |    --      | 10-byte floating point           |
  +-------+-----+---------+------------+----------------------------------+

原创粉丝点击