Lines Matching refs:mode

484 static void install_gen_operand (int mode, int val);
485 static void install_operand (int mode, int val);
1516 the_ins.operands[0].mode = CONTROL; in m68k_ip()
1554 switch (opP->mode) in m68k_ip()
1572 switch (opP->mode) in m68k_ip()
1589 switch (opP->mode) in m68k_ip()
1611 switch (opP->mode) in m68k_ip()
1625 switch (opP->mode) in m68k_ip()
1635 switch (opP->mode) in m68k_ip()
1647 switch (opP->mode) in m68k_ip()
1665 switch (opP->mode) in m68k_ip()
1683 switch (opP->mode) in m68k_ip()
1702 if (opP->mode != IMMED) in m68k_ip()
1728 if (opP->mode != IMMED) in m68k_ip()
1733 if (opP->mode == AREG in m68k_ip()
1734 || opP->mode == CONTROL in m68k_ip()
1735 || opP->mode == FPREG in m68k_ip()
1736 || opP->mode == IMMED in m68k_ip()
1737 || opP->mode == REGLST in m68k_ip()
1738 || (opP->mode != ABSL in m68k_ip()
1745 if (opP->mode == CONTROL in m68k_ip()
1746 || opP->mode == FPREG in m68k_ip()
1747 || opP->mode == REGLST in m68k_ip()
1748 || opP->mode == IMMED in m68k_ip()
1749 || (opP->mode != ABSL in m68k_ip()
1756 switch (opP->mode) in m68k_ip()
1779 if (opP->mode == CONTROL in m68k_ip()
1780 || opP->mode == FPREG in m68k_ip()
1781 || opP->mode == REGLST) in m68k_ip()
1786 if (opP->mode != AINC) in m68k_ip()
1791 if (opP->mode != ADEC) in m68k_ip()
1796 switch (opP->mode) in m68k_ip()
1813 switch (opP->mode) in m68k_ip()
1827 switch (opP->mode) in m68k_ip()
1848 switch (opP->mode) in m68k_ip()
1863 switch (opP->mode) in m68k_ip()
1884 if (opP->mode != CONTROL in m68k_ip()
1890 if (opP->mode != AREG) in m68k_ip()
1895 if (opP->mode != AINDR) in m68k_ip()
1900 if (opP->mode != AINDR && opP->mode != AINC && opP->mode != ADEC in m68k_ip()
1901 && (opP->mode != DISP in m68k_ip()
1908 if (opP->mode != ABSL in m68k_ip()
1915 switch (opP->mode) in m68k_ip()
1933 if (opP->mode != CONTROL || opP->reg != CCR) in m68k_ip()
1938 if (opP->mode != DISP in m68k_ip()
1945 if (opP->mode != DREG) in m68k_ip()
1961 if (opP->mode != FPREG) in m68k_ip()
1981 if (opP->mode != CONTROL in m68k_ip()
1988 if (opP->mode != LSH && opP->mode != RSH) in m68k_ip()
1993 if (opP->mode != CONTROL in m68k_ip()
2021 if (opP->mode != IMMED) in m68k_ip()
2027 if (opP->mode == DREG in m68k_ip()
2028 || opP->mode == AREG in m68k_ip()
2029 || opP->mode == FPREG) in m68k_ip()
2035 switch (opP->mode) in m68k_ip()
2049 opP->mode = REGLST; in m68k_ip()
2052 else if (opP->mode == CONTROL) in m68k_ip()
2073 opP->mode = REGLST; in m68k_ip()
2076 else if (opP->mode != REGLST) in m68k_ip()
2085 if (opP->mode != IMMED) in m68k_ip()
2097 if (opP->mode != DREG in m68k_ip()
2098 && opP->mode != IMMED in m68k_ip()
2099 && opP->mode != ABSL) in m68k_ip()
2104 if (opP->mode != IMMED) in m68k_ip()
2117 if (opP->mode != DREG && opP->mode != AREG) in m68k_ip()
2122 if (opP->mode != AINDR in m68k_ip()
2123 && (opP->mode != BASE in m68k_ip()
2137 if (opP->mode != CONTROL in m68k_ip()
2145 if (opP->mode != CONTROL || opP->reg != SR) in m68k_ip()
2150 if (opP->mode != IMMED) in m68k_ip()
2158 if (opP->mode != CONTROL || opP->reg != USP) in m68k_ip()
2163 if (opP->mode != IMMED) in m68k_ip()
2172 if (opP->mode != IMMED) in m68k_ip()
2180 if (opP->mode != IMMED) in m68k_ip()
2196 if (opP->mode == CONTROL in m68k_ip()
2197 || opP->mode == FPREG in m68k_ip()
2198 || opP->mode == DREG in m68k_ip()
2199 || opP->mode == AREG in m68k_ip()
2200 || opP->mode == REGLST) in m68k_ip()
2206 if (opP->mode == IMMED) in m68k_ip()
2211 if (opP->mode != CONTROL in m68k_ip()
2217 if (opP->mode != CONTROL || opP->reg != TC) in m68k_ip()
2222 if (opP->mode != CONTROL || opP->reg != AC) in m68k_ip()
2227 if (opP->mode != CONTROL in m68k_ip()
2235 if (opP->mode != CONTROL in m68k_ip()
2241 if (opP->mode != CONTROL in m68k_ip()
2249 switch (opP->mode) in m68k_ip()
2268 if (opP->mode != CONTROL in m68k_ip()
2275 if (opP->mode != CONTROL || opP->reg != PSR) in m68k_ip()
2280 if (opP->mode != CONTROL || opP->reg != PCSR) in m68k_ip()
2285 if (opP->mode != CONTROL in m68k_ip()
2294 if (opP->mode != ABSL) in m68k_ip()
2306 opP->mode = DREG; in m68k_ip()
2308 opP->mode = AREG; in m68k_ip()
2312 if (!(opP->mode == AINDR in m68k_ip()
2313 || (opP->mode == DISP in m68k_ip()
2319 if (!(opP->mode == AINDR || opP->mode == DISP)) in m68k_ip()
2503 switch (opP->mode) in m68k_ip()
2726 if (opP->mode == POST || opP->mode == PRE) in m68k_ip()
2750 if (opP->mode == POST || opP->mode == PRE) in m68k_ip()
2805 if (opP->mode == BASE in m68k_ip()
2917 if (opP->mode == POST || opP->mode == PRE) in m68k_ip()
2949 if (opP->mode == POST in m68k_ip()
3311 install_operand (s[1], opP->mode == LSH ? 0x1 : 0x3); in m68k_ip()
3516 tmpreg = ((opP->mode == DREG) in m68k_ip()
3537 if (opP->mode == AINDR) in m68k_ip()
3789 install_operand (int mode, int val) in install_operand() argument
3791 switch (mode) in install_operand()
3921 install_gen_operand (int mode, int val) in install_gen_operand() argument
3923 switch (mode) in install_gen_operand()
4010 if (opP->mode == CONTROL && (int)opP->reg < 0) in crack_operand()
4012 opP->mode = REGLST; in crack_operand()
6046 if (rop.mode == REGLST) in s_reg()
6048 else if (rop.mode == DREG) in s_reg()
6050 else if (rop.mode == AREG) in s_reg()
6052 else if (rop.mode == FPREG) in s_reg()
6054 else if (rop.mode == CONTROL in s_reg()
6057 else if (rop.mode == CONTROL in s_reg()
6060 else if (rop.mode == CONTROL in s_reg()
6480 if (rightop.mode == IMMED in build_mri_control_operand()
6481 || ((leftop.mode == DREG || leftop.mode == AREG) in build_mri_control_operand()
6482 && (rightop.mode != DREG && rightop.mode != AREG))) in build_mri_control_operand()
7821 printf ("mode %d, reg %d, ", the_ins.operands[n].mode, in main()