Lines Matching refs:immed
97 expression_t *immed, symbol_ref_t *src, int ret);
101 expression_t *immed, symbol_ref_t *address);
105 static void make_expression(expression_t *immed, int value);
108 static int is_download_const(expression_t *immed);
1196 expression_t immed; variable
1198 make_expression(&immed, 1);
1199 format_1_instr(AIC_OP_ADD, &$2, &immed, &$3, $4);
1206 expression_t immed; variable
1208 make_expression(&immed, -1);
1209 format_1_instr(AIC_OP_ADD, &$2, &immed, &$3, $4);
1216 expression_t immed; variable
1218 make_expression(&immed, -1);
1219 format_1_instr(AIC_OP_ADD, &none, &immed, &allzeros, $2);
1230 expression_t immed; variable
1232 make_expression(&immed, 1);
1233 format_1_instr(AIC_OP_ADD, &none, &immed, &allones, $2);
1237 expression_t immed; variable
1239 make_expression(&immed, 1);
1240 format_1_instr(AIC_OP_ADD, &$2, &immed, &allones, $3);
1254 expression_t immed; variable
1256 make_expression(&immed, 1);
1257 format_1_instr(AIC_OP_BMOV, &$2, &immed, &$4, $5);
1266 expression_t immed; variable
1273 make_expression(&immed, 1);
1274 format_1_instr(AIC_OP_BMOV, &$2, &immed, &allzeros, $5);
1284 expression_t immed; variable
1286 make_expression(&immed, 0xff);
1287 format_1_instr(AIC_OP_XOR, &$2, &immed, &$3, $4);
1294 expression_t immed; variable
1296 make_expression(&immed, 0xff);
1297 format_1_instr(AIC_OP_AND, &$2, &immed, &allzeros, $3);
1304 expression_t immed; variable
1306 make_expression(&immed, 0xff);
1307 format_1_instr(AIC_OP_AND, &none, &immed, &allzeros, $2);
1314 expression_t immed; variable
1316 make_expression(&immed, 0xff);
1317 format_1_instr(AIC_OP_AND, &none, &immed, &allzeros, TRUE);
1377 expression_t immed; variable
1379 make_expression(&immed, 0);
1380 format_3_instr($1, &sindex, &immed, &$2);
1409 expression_t immed; variable
1411 make_expression(&immed, 0);
1412 format_3_instr($3, &$2, &immed, &$4);
1650 format_1_instr(int opcode, symbol_ref_t *dest, expression_t *immed, in format_1_instr() argument
1665 type_check(dest, immed, opcode); in format_1_instr()
1677 f1_instr->immediate = immed->value; in format_1_instr()
1679 if (is_download_const(immed)) in format_1_instr()
1700 dst_value = src_value & immed->value; in format_1_instr()
1703 dst_value = src_value ^ immed->value; in format_1_instr()
1706 dst_value = (src_value + immed->value) & 0xFF; in format_1_instr()
1709 dst_value = src_value | immed->value; in format_1_instr()
1722 symlist_free(&immed->referenced_syms); in format_1_instr()
1789 expression_t *immed, symbol_ref_t *address) in format_3_instr() argument
1814 f3_instr->immediate = immed->value; in format_3_instr()
1816 if (is_download_const(immed)) in format_3_instr()
1819 symlist_free(&immed->referenced_syms); in format_3_instr()
1917 make_expression(expression_t *immed, int value) in make_expression() argument
1919 SLIST_INIT(&immed->referenced_syms); in make_expression()
1920 immed->value = value & 0xff; in make_expression()
1987 is_download_const(expression_t *immed) in is_download_const() argument
1989 if ((immed->referenced_syms.slh_first != NULL) in is_download_const()
1990 && (immed->referenced_syms.slh_first->symbol->type == DOWNLOAD_CONST)) in is_download_const()