代码之家  ›  专栏  ›  技术社区  ›  ecm

汇编指令“英特尔集团”类别起源于哪里?

  •  1
  • ecm  · 技术社区  · 5 年前

    在开发86-DOS应用程序时, lDebug ,我遇到了被称为“英特尔集团”的指令类别。具体地说,组是指与使用相同的1或2个操作码字节的一组指令相关的内容,由 /r ModR/M字节的字段。

    “英特尔集团”的类别可以追溯到1997年发布的FreeDOS Debug 0.95,并且可以看到 in that revision of my fddebug repo :

    /*
     *  Here are the tables for the main processor groups.
     */
    
    struct {
        int seq;    /* sequence number of the group */
        int info;   /* which group number it is */
    }
        grouptab[]  = {
            {0x80, GROUP(1)},   /* Intel group 1 */
            {0x81, GROUP(1)},
            {0x83, GROUP(2)},
            {0xd0, GROUP(3)},   /* Intel group 2 */
            {0xd1, GROUP(3)},
            {0xd2, GROUP(4)},
            {0xd3, GROUP(4)},
            {0xc0, GROUP(5)},   /* Intel group 2a */
            {0xc1, GROUP(5)},
            {0xf6, GROUP(6)},   /* Intel group 3 */
            {0xf7, GROUP(6)},
            {0xff, GROUP(7)},   /* Intel group 5 */
            {SPARSE_BASE + 0x00, GROUP(8)},     /* Intel group 6 */
            {SPARSE_BASE + 0x01, GROUP(9)}};    /* Intel group 7 */
    
    /* #define  NGROUPS 9 (this was done above) */
    
    struct {    /* sparse groups */
        int seq;    /* sequence number of the group */
        int info;   /* which group number it is */
    }
        sp_grouptab[]   = {
            {0xfe, SGROUP(1)},      /* Intel group 4 */
            {SPARSE_BASE+0xba, SGROUP(2)},  /* Intel group 8 */
            {SPARSE_BASE+0xc7, SGROUP(3)},  /* Intel group 9 */
            {0x8f, SGROUP(4)},      /* Not an Intel group */
            {0xc6, SGROUP(5)},      /* Not an Intel group */
            {0xc7, SGROUP(5)}};
    
    /* #define  NSGROUPS    5 (this was done above) */
    

    我找不到任何关于“英特尔集团”分类的信息。像这样的网络搜索 "intel group 2a" 只找到同一申请的回购协议。更广泛的搜索不会找到任何与这些评论中的用法相匹配的内容。

    在我读过的英特尔手册中,我从来没有发现任何“组”类别。例如 this 486 manual 似乎没有在其指令集引用中列出组。

    0 回复  |  直到 5 年前