• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:mode

180   int mode;  member
246 parse_reg (char *src, int *mode, unsigned int *preg) in parse_reg() argument
258 *mode = CLASS_REG_LONG; in parse_reg()
263 *mode = CLASS_REG_WORD; in parse_reg()
275 *mode = CLASS_REG_LONG; in parse_reg()
289 *mode = CLASS_REG_BYTE; in parse_reg()
301 *mode = CLASS_REG_BYTE; in parse_reg()
314 *mode = CLASS_REG_QUAD; in parse_reg()
328 *mode = CLASS_REG_WORD; in parse_reg()
383 regword (int mode, const char *string) in regword() argument
388 if (ok != mode) in regword()
397 regaddr (int mode, const char *string) in regaddr() argument
402 if (ok != mode) in regaddr()
427 get_ctrl_operand (char **ptr, struct z8k_op *mode, unsigned int dst ATTRIBUTE_UNUSED) in get_ctrl_operand() argument
435 mode->mode = CLASS_CTRL; in get_ctrl_operand()
468 get_flags_operand (char **ptr, struct z8k_op *mode, unsigned int dst ATTRIBUTE_UNUSED) in get_flags_operand() argument
478 mode->mode = CLASS_FLAGS; in get_flags_operand()
515 get_interrupt_operand (char **ptr, struct z8k_op *mode, unsigned int dst ATTRIBUTE_UNUSED) in get_interrupt_operand() argument
523 mode->mode = CLASS_IMM; in get_interrupt_operand()
605 get_cc_operand (char **ptr, struct z8k_op *mode, unsigned int dst ATTRIBUTE_UNUSED) in get_cc_operand() argument
613 mode->mode = CLASS_CC; in get_cc_operand()
630 get_operand (char **ptr, struct z8k_op *mode, unsigned int dst ATTRIBUTE_UNUSED) in get_operand() argument
635 mode->mode = 0; in get_operand()
641 mode->mode = CLASS_IMM; in get_operand()
642 imm_operand = &(mode->exp); in get_operand()
643 src = parse_exp (src + 1, &(mode->exp)); in get_operand()
647 mode->mode = CLASS_IR; in get_operand()
648 src = parse_reg (src + 1, &mode->regsize, &mode->reg); in get_operand()
654 end = parse_reg (src, &mode->mode, &regn); in get_operand()
676 regaddr (mode->mode, "ra(rb) ra"); in get_operand()
677 mode->mode = CLASS_BX; in get_operand()
678 mode->reg = regn; in get_operand()
679 mode->x_reg = nr; in get_operand()
687 src = parse_exp (src, &(mode->exp)); in get_operand()
689 mode->mode = CLASS_BA; in get_operand()
690 mode->reg = regn; in get_operand()
691 mode->x_reg = 0; in get_operand()
692 imm_operand = &(mode->exp); in get_operand()
697 mode->reg = regn; in get_operand()
698 mode->x_reg = 0; in get_operand()
704 src = parse_exp (src, &(mode->exp)); in get_operand()
708 end = parse_reg (src, &(mode->mode), &regn); in get_operand()
709 regword (mode->mode, "addr(Ra) ra"); in get_operand()
710 mode->mode = CLASS_X; in get_operand()
711 mode->reg = regn; in get_operand()
712 mode->x_reg = 0; in get_operand()
713 da_operand = &(mode->exp); in get_operand()
719 mode->mode = CLASS_DA; in get_operand()
720 mode->reg = 0; in get_operand()
721 mode->x_reg = 0; in get_operand()
722 da_operand = &(mode->exp); in get_operand()
738 operand[0].mode = 0; in get_operands()
739 operand[1].mode = 0; in get_operands()
774 operand[1].mode = 0; in get_operands()
873 unsigned int mode = operands[i].mode; in get_specific() local
875 … if (((mode & CLASS_MASK) == CLASS_IR) && ((this_try->arg_info[i] & CLASS_MASK) == CLASS_IRO)) in get_specific()
877 mode = operands[i].mode = (operands[i].mode & ~CLASS_MASK) | CLASS_IRO; in get_specific()
880 if ((mode & CLASS_MASK) != (this_try->arg_info[i] & CLASS_MASK)) in get_specific()
885 if (mode == CLASS_DA && this_try->arg_info[i] == CLASS_DISP) in get_specific()
888 operands[i].mode = CLASS_DISP; in get_specific()
890 else if (mode == CLASS_BA && this_try->arg_info[i]) in get_specific()
898 if (mode == CLASS_REG_LONG && segmented_mode) in get_specific()
902 else if (mode == CLASS_REG_WORD && !segmented_mode) in get_specific()
912 switch (mode & CLASS_MASK) in get_specific()