Lines Matching refs:str
539 char str[20]; in avr_set_arch() local
541 input_line_pointer = extract_word (input_line_pointer, str, 20); in avr_set_arch()
542 md_parse_option (OPTION_MMCU, str); in avr_set_arch()
662 avr_get_constant (char *str, int max) in avr_get_constant() argument
666 str = skip_space (str); in avr_get_constant()
667 input_line_pointer = str; in avr_get_constant()
684 char *str = input_line_pointer; in avr_offset_expression() local
688 tmp = str; in avr_offset_expression()
689 str = extract_word (str, op, sizeof (op)); in avr_offset_expression()
726 char *str = input_line_pointer; in avr_ldi_expression() local
732 tmp = str; in avr_ldi_expression()
734 str = extract_word (str, op, sizeof (op)); in avr_ldi_expression()
748 str = skip_space (str); in avr_ldi_expression()
750 if (*str == '(') in avr_ldi_expression()
755 ++str; in avr_ldi_expression()
757 if (strncmp ("pm(", str, 3) == 0 in avr_ldi_expression()
758 || strncmp ("gs(",str,3) == 0 in avr_ldi_expression()
759 || strncmp ("-(gs(",str,5) == 0 in avr_ldi_expression()
760 || strncmp ("-(pm(", str, 5) == 0) in avr_ldi_expression()
770 if (str[0] == 'g' || str[2] == 'g') in avr_ldi_expression()
773 if (*str == '-') in avr_ldi_expression()
777 str += 5; in avr_ldi_expression()
780 str += 3; in avr_ldi_expression()
783 if (*str == '-' && *(str + 1) == '(') in avr_ldi_expression()
787 str += 2; in avr_ldi_expression()
790 input_line_pointer = str; in avr_ldi_expression()
854 char *str = skip_space (*line); in avr_operand() local
865 char * old_str = str; in avr_operand()
869 str = extract_word (str, r_name, sizeof (r_name)); in avr_operand()
895 str = input_line_pointer; in avr_operand()
945 if (*str == '-') in avr_operand()
947 str = skip_space (str + 1); in avr_operand()
950 c = TOLOWER (*str); in avr_operand()
958 str = skip_space (str + 1); in avr_operand()
959 if (*str == '+') in avr_operand()
961 ++str; in avr_operand()
976 if (*str == '-') in avr_operand()
979 if (! (*str == 'z' || *str == 'Z')) in avr_operand()
982 str = skip_space (str + 1); in avr_operand()
984 if (*str == '+') in avr_operand()
986 ++str; in avr_operand()
1004 char c = TOLOWER (*str++); in avr_operand()
1010 str = skip_space (str); in avr_operand()
1011 if (*str++ == '+') in avr_operand()
1013 input_line_pointer = str; in avr_operand()
1015 str = input_line_pointer; in avr_operand()
1023 str = parse_exp (str, &op_expr); in avr_operand()
1029 str = parse_exp (str, &op_expr); in avr_operand()
1035 str = parse_exp (str, &op_expr); in avr_operand()
1041 str = parse_exp (str, &op_expr); in avr_operand()
1047 str = parse_exp (str, &op_expr); in avr_operand()
1056 input_line_pointer = str; in avr_operand()
1058 str = input_line_pointer; in avr_operand()
1068 x = ~avr_get_constant (str, 255); in avr_operand()
1069 str = input_line_pointer; in avr_operand()
1075 input_line_pointer = str; in avr_operand()
1077 str = input_line_pointer; in avr_operand()
1087 x = avr_get_constant (str, 7); in avr_operand()
1088 str = input_line_pointer; in avr_operand()
1096 str = parse_exp (str, &op_expr); in avr_operand()
1102 str = parse_exp (str, &op_expr); in avr_operand()
1111 x = avr_get_constant (str, 15); in avr_operand()
1112 str = input_line_pointer; in avr_operand()
1124 *line = str; in avr_operand()
1137 char *str = *line; in avr_operands() local
1152 reg1 = avr_operand (opcode, where, op, &str); in avr_operands()
1171 str = skip_space (str); in avr_operands()
1172 if (*str++ != ',') in avr_operands()
1174 str = skip_space (str); in avr_operands()
1176 reg2 = avr_operand (opcode, where, op, &str); in avr_operands()
1208 *line = str; in avr_operands()
1636 md_assemble (char *str) in md_assemble() argument
1641 str = skip_space (extract_word (str, op, sizeof (op))); in md_assemble()
1679 if (*str && *opcode->constraints == '?') in md_assemble()
1689 avr_operands (opcode, &str); in md_assemble()
1690 if (*skip_space (str)) in md_assemble()