Lines Matching refs:errmsg
60 const char *errmsg;
81 errmsg = _("W keyword invalid in FR operand slot.");
82 return errmsg;
88 errmsg = cgen_parse_keyword (cd, strp, & ip2k_cgen_opval_register_names,
91 && errmsg == NULL)
92 return errmsg;
106 errmsg = _("offset(IP) is not a valid form");
107 return errmsg;
113 errmsg = NULL;
114 return errmsg;
134 errmsg = NULL;
137 errmsg = cgen_parse_address (cd, strp, opindex,
141 if (errmsg == NULL)
148 return errmsg;
154 errmsg = _("(DP) offset out of range.");
155 return errmsg;
175 errmsg = NULL;
178 errmsg = cgen_parse_address (cd, strp, opindex,
182 if (errmsg == NULL)
189 return errmsg;
195 errmsg = _("(SP) offset out of range.");
196 return errmsg;
203 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_IP2K_FR9,
205 if (errmsg == NULL)
211 errmsg = _("illegal use of parentheses");
218 errmsg = _("operand out of range (not between 1 and 255)");
221 return errmsg;
230 const char *errmsg;
242 errmsg = _("parse_addr16: invalid opindex.");
243 return errmsg;
246 errmsg = cgen_parse_address (cd, strp, opindex, code,
248 if (errmsg == NULL)
263 return errmsg;
272 const char *errmsg;
282 errmsg = cgen_parse_address (cd, strp, opindex, code,
284 if (errmsg == NULL)
296 errmsg = _("Byte address required. - must be even.");
305 errmsg = _("cgen_parse_address returned a symbol. Literal required.");
307 return errmsg;
316 const char *errmsg;
356 errmsg = cgen_parse_address (cd, strp, opindex, code,
358 if ((errmsg == NULL) &&
360 errmsg = _("percent-operator operand is not a symbol");
367 errmsg = cgen_parse_signed_integer (cd, strp, opindex, valuep);
370 if (errmsg == NULL)
374 return errmsg;
383 const char *errmsg;
404 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep);
405 if (errmsg)
406 return errmsg;
413 errmsg = _("Attempt to find bit index of 0");
414 return errmsg;
439 return errmsg;
466 const char * errmsg = NULL;
473 errmsg = parse_addr16_cjp (cd, strp, IP2K_OPERAND_ADDR16CJP, (unsigned long *) (& fields->f_addr16cjp));
476 errmsg = parse_addr16 (cd, strp, IP2K_OPERAND_ADDR16H, (unsigned long *) (& fields->f_imm8));
479 errmsg = parse_addr16 (cd, strp, IP2K_OPERAND_ADDR16L, (unsigned long *) (& fields->f_imm8));
482 errmsg = parse_addr16_cjp (cd, strp, IP2K_OPERAND_ADDR16P, (unsigned long *) (& fields->f_page3));
485 errmsg = parse_bit3 (cd, strp, IP2K_OPERAND_BITNO, (unsigned long *) (& fields->f_bitno));
488 errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_CBIT, (unsigned long *) (& junk));
491 errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_DCBIT, (unsigned long *) (& junk));
494 errmsg = parse_fr (cd, strp, IP2K_OPERAND_FR, (unsigned long *) (& fields->f_reg));
497 errmsg = parse_lit8 (cd, strp, IP2K_OPERAND_LIT8, (long *) (& fields->f_imm8));
500 errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_PABITS, (unsigned long *) (& junk));
503 errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_RETI3, (unsigned long *) (& fields->f_reti3));
506 errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_ZBIT, (unsigned long *) (& junk));
515 return errmsg;
682 const char *errmsg;
767 errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn), &str, fields);
768 if (errmsg)
769 return errmsg;
822 char **errmsg)
919 *errmsg = errbuf;