Lines Matching refs:errmsg
59 const char *errmsg; in parse_fr() local
80 errmsg = _("W keyword invalid in FR operand slot."); in parse_fr()
81 return errmsg; in parse_fr()
87 errmsg = cgen_parse_keyword (cd, strp, & ip2k_cgen_opval_register_names, in parse_fr()
90 && errmsg == NULL) in parse_fr()
91 return errmsg; in parse_fr()
105 errmsg = _("offset(IP) is not a valid form"); in parse_fr()
106 return errmsg; in parse_fr()
112 errmsg = NULL; in parse_fr()
113 return errmsg; in parse_fr()
133 errmsg = NULL; in parse_fr()
136 errmsg = cgen_parse_address (cd, strp, opindex, in parse_fr()
140 if (errmsg == NULL) in parse_fr()
147 return errmsg; in parse_fr()
153 errmsg = _("(DP) offset out of range."); in parse_fr()
154 return errmsg; in parse_fr()
174 errmsg = NULL; in parse_fr()
177 errmsg = cgen_parse_address (cd, strp, opindex, in parse_fr()
181 if (errmsg == NULL) in parse_fr()
188 return errmsg; in parse_fr()
194 errmsg = _("(SP) offset out of range."); in parse_fr()
195 return errmsg; in parse_fr()
202 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_IP2K_FR9, in parse_fr()
204 if (errmsg == NULL) in parse_fr()
210 errmsg = _("illegal use of parentheses"); in parse_fr()
217 errmsg = _("operand out of range (not between 1 and 255)"); in parse_fr()
220 return errmsg; in parse_fr()
229 const char *errmsg; in parse_addr16() local
241 errmsg = _("parse_addr16: invalid opindex."); in parse_addr16()
242 return errmsg; in parse_addr16()
245 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_addr16()
247 if (errmsg == NULL) in parse_addr16()
262 return errmsg; in parse_addr16()
271 const char *errmsg; in parse_addr16_cjp() local
281 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_addr16_cjp()
283 if (errmsg == NULL) in parse_addr16_cjp()
295 errmsg = _("Byte address required. - must be even."); in parse_addr16_cjp()
304 errmsg = _("cgen_parse_address returned a symbol. Literal required."); in parse_addr16_cjp()
306 return errmsg; in parse_addr16_cjp()
315 const char *errmsg; in parse_lit8() local
355 errmsg = cgen_parse_address (cd, strp, opindex, code, in parse_lit8()
357 if ((errmsg == NULL) && in parse_lit8()
359 errmsg = _("percent-operator operand is not a symbol"); in parse_lit8()
366 errmsg = cgen_parse_signed_integer (cd, strp, opindex, valuep); in parse_lit8()
369 if (errmsg == NULL) in parse_lit8()
373 return errmsg; in parse_lit8()
382 const char *errmsg; in parse_bit3() local
403 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep); in parse_bit3()
404 if (errmsg) in parse_bit3()
405 return errmsg; in parse_bit3()
412 errmsg = _("Attempt to find bit index of 0"); in parse_bit3()
413 return errmsg; in parse_bit3()
438 return errmsg; in parse_bit3()
465 const char * errmsg = NULL; in ip2k_cgen_parse_operand() local
472 …errmsg = parse_addr16_cjp (cd, strp, IP2K_OPERAND_ADDR16CJP, (unsigned long *) (& fields->f_addr16… in ip2k_cgen_parse_operand()
475 errmsg = parse_addr16 (cd, strp, IP2K_OPERAND_ADDR16H, (unsigned long *) (& fields->f_imm8)); in ip2k_cgen_parse_operand()
478 errmsg = parse_addr16 (cd, strp, IP2K_OPERAND_ADDR16L, (unsigned long *) (& fields->f_imm8)); in ip2k_cgen_parse_operand()
481 … errmsg = parse_addr16_cjp (cd, strp, IP2K_OPERAND_ADDR16P, (unsigned long *) (& fields->f_page3)); in ip2k_cgen_parse_operand()
484 errmsg = parse_bit3 (cd, strp, IP2K_OPERAND_BITNO, (unsigned long *) (& fields->f_bitno)); in ip2k_cgen_parse_operand()
487 … errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_CBIT, (unsigned long *) (& junk)); in ip2k_cgen_parse_operand()
490 … errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_DCBIT, (unsigned long *) (& junk)); in ip2k_cgen_parse_operand()
493 errmsg = parse_fr (cd, strp, IP2K_OPERAND_FR, (unsigned long *) (& fields->f_reg)); in ip2k_cgen_parse_operand()
496 errmsg = parse_lit8 (cd, strp, IP2K_OPERAND_LIT8, (long *) (& fields->f_imm8)); in ip2k_cgen_parse_operand()
499 … errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_PABITS, (unsigned long *) (& junk)); in ip2k_cgen_parse_operand()
502 …errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_RETI3, (unsigned long *) (& fields->f… in ip2k_cgen_parse_operand()
505 … errmsg = cgen_parse_unsigned_integer (cd, strp, IP2K_OPERAND_ZBIT, (unsigned long *) (& junk)); in ip2k_cgen_parse_operand()
514 return errmsg; in ip2k_cgen_parse_operand()
679 const char *errmsg; in parse_insn_normal() local
764 errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn), &str, fields); in parse_insn_normal()
765 if (errmsg) in parse_insn_normal()
766 return errmsg; in parse_insn_normal()
818 char **errmsg) in ip2k_cgen_assemble_insn() argument
915 *errmsg = errbuf; in ip2k_cgen_assemble_insn()