public static void DecWordReg(int Reg) {
        /*unsigned*/
        int tmp = /*(unsigned)*/ I.regs.w[Reg];
        /*unsigned*/
        int tmp1 = tmp - 1;
        /*SetOFW_Sub(tmp1,1,tmp);*/
        I.OverVal = BOOL(tmp == 0x8000); /* MISH */

        SetAF(tmp1, tmp, 1);
        SetSZPF_Word(tmp1);
        I.regs.SetW(Reg, tmp1 & 0xFFFF);
        nec_ICount[0] -= 2;
    }