Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/mirbsd/src/gnu/usr.bin/binutils/include/opcode/
Dtic4x.h227 unsigned long opcode; member
309 #define A_CLASS_INSN(name, opcode, level) \ argument
310 { name, opcode|0x00000000, 0xffe00000, "Q;R", level }, \
311 { name, opcode|0x00200000, 0xffe00000, "@,R", level }, \
312 { name, opcode|0x00400000, 0xffe00000, "*,R", level }, \
313 { name, opcode|0x00600000, 0xffe00000, "S,R", level }
322 #define AB_CLASS_INSN(name, opcode, level) \ argument
323 { name, opcode|0x40000000, 0xf0600000, "Q;R", level }, \
324 { name, opcode|0x40200000, 0xf0600000, "@,R", level }, \
325 { name, opcode|0x40400000, 0xf0600000, "*,R", level }, \
[all …]
/mirbsd/src/gnu/usr.bin/binutils/opcodes/
Ds390-dis.c37 const struct s390_opcode *opcode; in init_disasm() local
42 for (opcode = s390_opcodes; opcode < opcode_end; opcode++) in init_disasm()
44 opc_index[(int) opcode->opcode[0]] = opcode - s390_opcodes; in init_disasm()
45 while ((opcode < opcode_end) && in init_disasm()
46 (opcode[1].opcode[0] == opcode->opcode[0])) in init_disasm()
47 opcode++; in init_disasm()
110 const struct s390_opcode *opcode; in print_insn_s390() local
151 for (opcode = s390_opcodes + opc_index[(int) buffer[0]]; in print_insn_s390()
152 (opcode < opcode_end) && (buffer[0] == opcode->opcode[0]); in print_insn_s390()
153 opcode++) in print_insn_s390()
[all …]
Dtic54x-dis.c50 unsigned short opcode; in print_insn_tic54x() local
61 opcode = bfd_getl16 (opbuf); in print_insn_tic54x()
62 tm = tic54x_get_insn (info, memaddr, opcode, &size); in print_insn_tic54x()
71 if (!print_parallel_instruction (info, memaddr, opcode, tm, size)) in print_insn_tic54x()
76 if (!print_instruction (info, memaddr, opcode, in print_insn_tic54x()
108 if (tm->opcode == (memdata & tm->mask)) in tic54x_get_insn()
138 if (tm->opcode == (memdata & tm->mask)) in tic54x_get_insn()
168 print_instruction (info, memaddr, opcode, tm_name, tm_operands, size, ext) in print_instruction() argument
171 unsigned short opcode;
213 sprint_dual_address (info, operand[i], XMEM (opcode));
[all …]
Dalpha-dis.c64 const struct alpha_opcode *opcode, *opcode_end; local
72 opcode = alpha_opcodes;
73 opcode_end = opcode + alpha_num_opcodes;
77 opcode_index[op] = opcode;
78 while (opcode < opcode_end && op == AXP_OP (opcode->opcode))
79 ++opcode;
81 opcode_index[op] = opcode;
120 for (opcode = opcode_index[op]; opcode < opcode_end; ++opcode)
122 if ((insn ^ opcode->opcode) & opcode->mask)
125 if (!(opcode->flags & isa_mask))
[all …]
Di370-dis.c37 const struct i370_opcode *opcode; in print_insn_i370() local
58 for (opcode = i370_opcodes; opcode < opcode_end; opcode++) in print_insn_i370()
67 if (2 == opcode->len) in print_insn_i370()
72 masked.i[0] &= opcode->mask.i[0]; in print_insn_i370()
73 if (masked.i[0] != opcode->opcode.i[0]) in print_insn_i370()
76 if (6 == opcode->len) in print_insn_i370()
78 masked.i[1] &= opcode->mask.i[1]; in print_insn_i370()
79 if (masked.i[1] != opcode->opcode.i[1]) in print_insn_i370()
84 if (2 == opcode->len) in print_insn_i370()
94 for (opindex = opcode->operands; *opindex != 0; opindex++) in print_insn_i370()
[all …]
Da29k-dis.c87 is_delayed_branch (int opcode) in is_delayed_branch() argument
89 return (opcode == 0xa8 || opcode == 0xa9 || opcode == 0xa0 || opcode == 0xa1 in is_delayed_branch()
90 || opcode == 0xa4 || opcode == 0xa5 in is_delayed_branch()
91 || opcode == 0xb4 || opcode == 0xb5 in is_delayed_branch()
92 || opcode == 0xc4 || opcode == 0xc0 in is_delayed_branch()
93 || opcode == 0xac || opcode == 0xad in is_delayed_branch()
94 || opcode == 0xcc); in is_delayed_branch()
143 struct a29k_opcode const * opcode; in print_insn() local
170 for (opcode = &a29k_opcodes[0]; in print_insn()
171 opcode < &a29k_opcodes[num_opcodes]; in print_insn()
[all …]
Ddlx-dis.c44 dlx_get_opcode (unsigned long opcode) in dlx_get_opcode() argument
46 return (unsigned char) ((opcode >> 26) & 0x3F); in dlx_get_opcode()
50 dlx_get_rs1 (unsigned long opcode) in dlx_get_rs1() argument
52 return (unsigned char) ((opcode >> 21) & 0x1F); in dlx_get_rs1()
56 dlx_get_rs2 (unsigned long opcode) in dlx_get_rs2() argument
58 return (unsigned char) ((opcode >> 16) & 0x1F); in dlx_get_rs2()
62 dlx_get_rdR (unsigned long opcode) in dlx_get_rdR() argument
64 return (unsigned char) ((opcode >> 11) & 0x1F); in dlx_get_rdR()
68 dlx_get_func (unsigned long opcode) in dlx_get_func() argument
70 return (unsigned char) (opcode & 0x7FF); in dlx_get_func()
[all …]
Davr-dis.c30 char *opcode; member
252 const struct avr_opcodes_s *opcode; in print_insn_avr() local
272 for (opcode = avr_opcodes, maskptr = avr_bin_masks; in print_insn_avr()
273 opcode->name; in print_insn_avr()
274 opcode++, maskptr++) in print_insn_avr()
280 for (s = opcode->opcode; *s; ++s) in print_insn_avr()
287 assert (s - opcode->opcode == 16); in print_insn_avr()
288 assert (opcode->bin_opcode == bin); in print_insn_avr()
297 for (opcode = avr_opcodes, maskptr = avr_bin_masks; in print_insn_avr()
298 opcode->name; in print_insn_avr()
[all …]
Darc-ext.c34 arcExtMap_instName(int opcode, int minor, int *flags) in arcExtMap_instName() argument
36 if (opcode == 3) in arcExtMap_instName()
42 opcode = 0x1f - 0x10 + minor - 0x09 + 1; in arcExtMap_instName()
45 if (opcode < 0x10) in arcExtMap_instName()
48 opcode -= 0x10; in arcExtMap_instName()
49 if (!arc_extension_map.instructions[opcode]) in arcExtMap_instName()
51 *flags = arc_extension_map.instructions[opcode]->flags; in arcExtMap_instName()
52 return arc_extension_map.instructions[opcode]->name; in arcExtMap_instName()
180 char opcode = p[2]; in arcExtMap_add() local
186 if (opcode==3) in arcExtMap_add()
[all …]
Dmsp430-dis.c53 msp430_nooperands (struct msp430_opcode_s *opcode, in msp430_nooperands() argument
62 if (insn == opcode->bin_opcode) in msp430_nooperands()
65 if (opcode->fmt == 0) in msp430_nooperands()
84 struct msp430_opcode_s *opcode, in msp430_singleoperand() argument
102 switch (opcode->fmt) in msp430_singleoperand()
109 if (opcode->bin_opcode == 0x4300 && (ad || as)) in msp430_singleoperand()
113 if ((opcode->bin_opcode & 0xff00) == 0x5300 && as == 3) in msp430_singleoperand()
286 struct msp430_opcode_s *opcode, in msp430_doubleoperand() argument
305 if (opcode->fmt == 0) in msp430_doubleoperand()
539 struct msp430_opcode_s *opcode ATTRIBUTE_UNUSED, in msp430_branchinstr()
[all …]
Dh8500-dis.c77 const h8500_opcode_info *opcode; in print_insn_h8500() local
91 for (opcode = h8500_table; opcode->name; opcode++) in print_insn_h8500()
105 for (byte = 0; byte < opcode->length; byte++) in print_insn_h8500()
108 if ((buffer[byte] & opcode->bytes[byte].mask) in print_insn_h8500()
109 != (opcode->bytes[byte].contents)) in print_insn_h8500()
115 switch (opcode->bytes[byte].insert) in print_insn_h8500()
123 opcode->bytes[byte].insert); in print_insn_h8500()
208 FETCH_DATA (info, buffer + opcode->length); in print_insn_h8500()
209 (func) (stream, "%s\t", opcode->name); in print_insn_h8500()
210 for (i = 0; i < opcode->nargs; i++) in print_insn_h8500()
[all …]
Dtic80-dis.c189 const struct tic80_opcode *opcode) in print_one_instruction() argument
197 (*info->fprintf_func) (info->stream, "%-10s", opcode->name); in print_one_instruction()
199 for (opindex = opcode->operands; *opindex != 0; opindex++) in print_one_instruction()
228 if (opindex != opcode->operands) in print_one_instruction()
262 const struct tic80_opcode *opcode; in print_instruction() local
272 for (opcode = tic80_opcodes; opcode < opcode_end; opcode++) in print_instruction()
274 if ((insn & opcode->mask) == opcode->opcode && in print_instruction()
275 opcode != vec_opcode) in print_instruction()
279 if (opcode == opcode_end) in print_instruction()
287 length = print_one_instruction (info, memaddr, insn, opcode); in print_instruction()
[all …]
Dm68hc11-dis.c232 const struct m68hc11_opcode *opcode; in print_insn() local
310 opcode = m68hc11_opcodes; in print_insn()
311 for (i = 0; i < m68hc11_num_opcodes; i++, opcode++) in print_insn()
317 if ((opcode->arch & arch) == 0) in print_insn()
319 if (opcode->opcode != code) in print_insn()
321 if ((opcode->format & OP_PAGE_MASK) != format) in print_insn()
324 if (opcode->format & M6812_OP_REG) in print_insn()
329 if (opcode->format & M6811_OP_JUMP_REL) in print_insn()
341 if ((opcode[j].arch & arch) == 0) in print_insn()
343 if (opcode[j].opcode != code) in print_insn()
[all …]
Dppc-dis.c131 const struct powerpc_opcode *opcode; in print_insn_powerpc() local
157 for (opcode = powerpc_opcodes; opcode < opcode_end; opcode++) in print_insn_powerpc()
166 table_op = PPC_OP (opcode->opcode); in print_insn_powerpc()
172 if ((insn & opcode->mask) != opcode->opcode in print_insn_powerpc()
173 || (opcode->flags & dialect) == 0) in print_insn_powerpc()
180 for (opindex = opcode->operands; *opindex != 0; opindex++) in print_insn_powerpc()
190 if (opcode->operands[0] != 0) in print_insn_powerpc()
191 (*info->fprintf_func) (info->stream, "%-7s ", opcode->name); in print_insn_powerpc()
193 (*info->fprintf_func) (info->stream, "%s", opcode->name); in print_insn_powerpc()
198 for (opindex = opcode->operands; *opindex != 0; opindex++) in print_insn_powerpc()
/mirbsd/src/gnu/usr.bin/binutils/gas/config/
Dtc-tic30.c253 unsigned opcode; member
267 template *opcode; variable
272 unsigned opcode; /* Final opcode. */ member
335 char *opcode, *operands, *line; in tic30_find_parallel_insn() local
341 opcode = &first_opcode[0]; in tic30_find_parallel_insn()
347 opcode = &second_opcode[0]; in tic30_find_parallel_insn()
361 opcode[char_ptr++] = TOLOWER (c); in tic30_find_parallel_insn()
365 opcode[char_ptr++] = TOLOWER (c); in tic30_find_parallel_insn()
368 opcode[char_ptr] = '\0'; in tic30_find_parallel_insn()
590 current_op->reg.opcode = regop->opcode; in tic30_operand()
[all …]
Dtc-mn10200.c380 int opcode = fragP->fr_literal[offset] & 0xff; in md_convert_frag() local
382 switch (opcode) in md_convert_frag()
385 opcode = 0xe9; in md_convert_frag()
388 opcode = 0xe8; in md_convert_frag()
391 opcode = 0xe2; in md_convert_frag()
394 opcode = 0xe0; in md_convert_frag()
397 opcode = 0xe1; in md_convert_frag()
400 opcode = 0xe3; in md_convert_frag()
403 opcode = 0xe6; in md_convert_frag()
406 opcode = 0xe4; in md_convert_frag()
[all …]
Dtc-mn10300.c776 int opcode = fragP->fr_literal[offset] & 0xff; local
778 switch (opcode)
781 opcode = 0xc9;
784 opcode = 0xc8;
787 opcode = 0xc2;
790 opcode = 0xc0;
793 opcode = 0xc1;
796 opcode = 0xc3;
799 opcode = 0xc6;
802 opcode = 0xc4;
[all …]
Dtc-pj.c148 ipush_code (pj_opc_info_t *opcode ATTRIBUTE_UNUSED, char *str) in ipush_code()
177 fake->opcode = -1; in fake_opcode()
200 const pj_opc_info_t *opcode; in md_begin() local
204 for (opcode = pj_opc_info; opcode->u.name; opcode++) in md_begin()
205 hash_insert (opcode_hash_control, opcode->u.name, (char *) opcode); in md_begin()
232 pj_opc_info_t *opcode; in md_assemble() local
256 opcode = (pj_opc_info_t *) hash_find (opcode_hash_control, op_start); in md_assemble()
259 if (opcode == NULL) in md_assemble()
265 if (opcode->opcode == -1) in md_assemble()
269 (*opcode->u.func) (opcode, op_end); in md_assemble()
[all …]
Dtc-i860.c60 unsigned long opcode; member
297 pseudo[0].opcode = (the_insn.opcode & 0x001f0000) | 0xe4000000; in md_assemble()
301 pseudo[1].opcode = (the_insn.opcode & 0x03ffffff) | 0xec000000 in md_assemble()
302 | ((the_insn.opcode & 0x001f0000) << 5); in md_assemble()
316 pseudo[0].opcode = 0xec000000 | (the_insn.opcode & 0x03e00000) in md_assemble()
322 pseudo[1].opcode = (the_insn.opcode & ~0x03e00000) | (atmp << 21); in md_assemble()
336 pseudo[0].opcode = (the_insn.opcode & 0xf3e0ffff) | 0x0c000000 in md_assemble()
341 pseudo[1].opcode = (the_insn.opcode & 0xf01f0000) | 0x04000000 in md_assemble()
356 pseudo[0].opcode = (the_insn.opcode & 0x03e0ffff) | 0xd4000000 in md_assemble()
363 pseudo[1].opcode = (the_insn.opcode & 0x001f0000) | 0xd4000000 in md_assemble()
[all …]
Dtc-w65.c142 const struct opinfo *opcode; in md_begin() local
148 for (opcode = optable; opcode->name; opcode++) in md_begin()
150 if (strcmp (prev_name, opcode->name)) in md_begin()
152 prev_name = opcode->name; in md_begin()
153 hash_insert (opcode_hash_control, opcode->name, (char *) opcode); in md_begin()
551 get_specific (const struct opinfo *opcode) in get_specific() argument
553 int ocode = opcode->code; in get_specific()
555 for (; opcode->code == ocode; opcode++) in get_specific()
556 if (opcode->amode == amode) in get_specific()
557 return opcode; in get_specific()
[all …]
Dtc-a29k.c49 unsigned long opcode; member
261 if ((machine_opcodes[i].opcode & 0x01000000) != 0 in md_begin()
262 || (machine_opcodes[i + 1].opcode & 0x01000000) == 0 in md_begin()
263 || ((machine_opcodes[i].opcode | 0x01000000) in md_begin()
264 != machine_opcodes[i + 1].opcode)) in md_begin()
336 unsigned long opcode; in machine_ip() local
366 opcode = insn->opcode; in machine_ip()
387 the_insn.opcode = opcode; in machine_ip()
407 opcode |= (operand->X_add_number << 16); in machine_ip()
427 if ((insn->opcode | IMMEDIATE_BIT) != (insn + 1)->opcode) in machine_ip()
[all …]
Dtc-d10v.c314 struct d10v_opcode *opcode; in md_begin() local
322 for (opcode = (struct d10v_opcode *) d10v_opcodes; opcode->name; opcode++) in md_begin()
324 if (strcmp (prev_name, opcode->name)) in md_begin()
326 prev_name = (char *) opcode->name; in md_begin()
327 hash_insert (d10v_hash, opcode->name, (char *) opcode); in md_begin()
550 build_insn (struct d10v_opcode *opcode, in build_insn() argument
562 insn = opcode->opcode; in build_insn()
563 format = opcode->format; in build_insn()
566 for (i = 0; opcode->operands[i]; i++) in build_insn()
568 flags = d10v_operands[opcode->operands[i]].flags; in build_insn()
[all …]
Dtc-xtensa.c1963 xtensa_opcode opcode = insn->opcode; in parse_arguments() local
1975 opcode_operand_count = xtensa_opcode_num_operands (isa, opcode); in parse_arguments()
1988 while (xtensa_operand_is_visible (isa, opcode, opnd_cnt) == 0) in parse_arguments()
2005 opnd_rf = xtensa_operand_regfile (isa, opcode, last_opnd_cnt); in parse_arguments()
2020 expression_maybe_register (opcode, opnd_cnt, tok); in parse_arguments()
2025 if (xtensa_operand_is_register (isa, opcode, opnd_cnt) == 1) in parse_arguments()
2027 num_regs = xtensa_operand_num_regs (isa, opcode, opnd_cnt) - 1; in parse_arguments()
2041 while (xtensa_operand_is_visible (isa, opcode, opnd_cnt) == 0); in parse_arguments()
2063 xtensa_opcode opc = insn->opcode; in get_invisible_operands()
2493 get_relaxable_immed (xtensa_opcode opcode) in get_relaxable_immed() argument
[all …]
/mirbsd/src/sys/scsi/
Dcd.h34 u_int8_t opcode; member
44 u_int8_t opcode; member
58 u_int8_t opcode; member
68 u_int8_t opcode; member
81 u_int8_t opcode; member
93 u_int8_t opcode; member
102 u_int8_t opcode; member
111 u_int8_t opcode; member
120 u_int8_t opcode; member
129 u_int8_t opcode; member
[all …]
/mirbsd/src/usr.bin/ssh/
Dttymodes.c324 int opcode, baud; in tty_parse_modes() local
353 opcode = packet_get_char(); in tty_parse_modes()
354 switch (opcode) { in tty_parse_modes()
399 opcode, opcode); in tty_parse_modes()
408 if (opcode > 0 && opcode < 128) { in tty_parse_modes()
412 } else if (opcode >= 128 && opcode < 160) { in tty_parse_modes()
425 opcode); in tty_parse_modes()
436 if (opcode > 0 && opcode < 160) { in tty_parse_modes()
442 opcode); in tty_parse_modes()

12345678910>>...13