Lines Matching refs:params
236 return function(params, nparams)
237 if not params then return "-> "..opname:sub(1, -3) end
238 f(params, nparams)
239 op_template(params, map_op[opname], nparams)
1651 op_template = function(params, template, nparams)
1652 if not params then return sub(template, 9) end
1664 rs = rs - 5; op = op + shl(parse_gpr(params[n]), rs); n = n + 1
1666 rs = rs - 5; op = op + shl(parse_fpr(params[n]), rs); n = n + 1
1668 rs = rs - 5; op = op + shl(parse_vr(params[n]), rs); n = n + 1
1670 local vs = parse_vs(params[n]); n = n + 1; rs = rs - 5
1674 local vs = parse_vs(params[n]); n = n + 1
1677 rs = rs - 5; op = op + parse_imm(params[n], 5, rs, 0, false); n = n + 1
1679 rs = rs - 5; op = op + parse_imm(params[n], 5, rs, 0, true); n = n + 1
1681 op = op + parse_imm(params[n], 16, 0, 0, true); n = n + 1
1683 op = op + parse_imm(params[n], 16, 0, 0, false); n = n + 1
1685 op = op + parse_disp(params[n]); n = n + 1
1687 op = op + parse_u5disp(params[n], 1); n = n + 1
1689 op = op + parse_u5disp(params[n], 2); n = n + 1
1691 op = op + parse_u5disp(params[n], 3); n = n + 1
1693 rs = rs - 5; op = op + shl(parse_cond(params[n]), rs); n = n + 1
1695 rs = rs - 5; op = op + shl(parse_cr(params[n]), rs+2); n = n + 1
1697 rs = rs - 5; op = op + parse_imm(params[n], 1, rs, 0, false); n = n + 1
1699 rs = rs - 5; op = op + parse_imm(params[n], 2, rs, 0, false); n = n + 1
1701 rs = rs - 5; op = op + parse_imm(params[n], 3, rs, 0, false); n = n + 1
1703 rs = rs - 5; op = op + parse_imm(params[n], 4, rs, 0, false); n = n + 1
1705 op = op + parse_imm(params[n], 4, rs, 0, false); n = n + 1
1707 rs = rs - 6; op = op + parse_imm(params[n], 6, rs, 0, false); n = n + 1
1709 rs = rs - 5; op = op + parse_imm(params[n], 1, rs+4, 0, false); n = n + 1
1711 rs = rs - 5; op = op + parse_imm(params[n], 1, rs+3, 0, false); n = n + 1
1713 rs = rs - 5; op = op + parse_imm(params[n], 2, rs+3, 0, false); n = n + 1
1715 rs = rs - 5; op = op + parse_imm(params[n], 2, rs+2, 0, false); n = n + 1
1717 op = op + parse_cr(params[n]); n = n + 1
1719 op = op + parse_imm(params[n], 8, 12, 0, false); n = n + 1
1721 op = op + parse_shiftmask(params[n], true); n = n + 1
1723 op = op + parse_shiftmask(params[n], false); n = n + 1
1725 local mode, m, s = parse_label(params[n], false)
1758 map_op[".actionlist_1"] = function(params)
1759 if not params then return "cvar" end
1760 local name = params[1] -- No syntax check. You get to keep the pieces.
1765 map_op[".globals_1"] = function(params)
1766 if not params then return "prefix" end
1767 local prefix = params[1] -- No syntax check. You get to keep the pieces.
1772 map_op[".globalnames_1"] = function(params)
1773 if not params then return "cvar" end
1774 local name = params[1] -- No syntax check. You get to keep the pieces.
1779 map_op[".externnames_1"] = function(params)
1780 if not params then return "cvar" end
1781 local name = params[1] -- No syntax check. You get to keep the pieces.
1788 map_op[".label_1"] = function(params)
1789 if not params then return "[1-9] | ->global | =>pcexpr" end
1791 local mode, n, s = parse_label(params[1], true)
1799 map_op[".long_*"] = function(params)
1800 if not params then return "imm..." end
1801 for _,p in ipairs(params) do
1811 map_op[".align_1"] = function(params)
1812 if not params then return "numpow2" end
1814 local align = tonumber(params[1])
1832 map_op[".type_3"] = function(params, nparams)
1833 if not params then
1836 local name, ctype, reg = params[1], params[2], params[3]