Lines Matching defs:modrm
4470 uint8_t modrm;
4486 /* Parse the "modrm" part of the memory address irp->addr points at.
4494 if (record_read_memory (gdbarch, irp->addr, &irp->modrm, 1))
4498 irp->mod = (irp->modrm >> 6) & 3;
4499 irp->reg = (irp->modrm >> 3) & 7;
4500 irp->rm = irp->modrm & 7;
4872 /* If ModRM.mod is 11 we are saving into a register. */
4902 /* If ModRM.mod is 11 we are saving into a register. */
4921 /* The first bit of modrm identifies if both operands of the instruction
5433 opcode = opcode << 8 | ir.modrm;
5446 opcode = opcode << 8 | ir.modrm;
5496 opcode = opcode << 8 | ir.modrm;
5616 opcode = opcode << 8 | ir.modrm;
5826 opcode = opcode << 8 | ir.modrm;
5862 opcode = opcode << 8 | ir.modrm;
5885 opcode = opcode << 8 | ir.modrm;
6028 opcode = opcode << 8 | ir.modrm;
6333 opcode = opcode << 8 | ir.modrm;
6348 if (0x0c == (ir.modrm >> 4))
6350 if ((ir.modrm & 0x0f) <= 7)
6363 if ((ir.modrm & 0x0f) - 0x08)
6367 ((ir.modrm & 0x0f) - 0x08)))
6374 switch (ir.modrm)
6420 if (0xe9 == ir.modrm)
6425 else if ((0x0c == ir.modrm >> 4) || (0x0d == ir.modrm >> 4))
6430 if (((ir.modrm & 0x0f) > 0) && ((ir.modrm & 0x0f) <= 7))
6434 (ir.modrm & 0x0f)))
6437 else if ((ir.modrm & 0x0f) - 0x08)
6441 ((ir.modrm & 0x0f) - 0x08)))
6447 if (0xe3 == ir.modrm)
6452 else if ((0x0c == ir.modrm >> 4) || (0x0d == ir.modrm >> 4))
6457 if (((ir.modrm & 0x0f) > 0) && ((ir.modrm & 0x0f) <= 7))
6461 (ir.modrm & 0x0f)))
6464 else if ((ir.modrm & 0x0f) - 0x08)
6468 ((ir.modrm & 0x0f) - 0x08)))
6474 if ((0x0c == ir.modrm >> 4)
6475 || (0x0d == ir.modrm >> 4)
6476 || (0x0f == ir.modrm >> 4))
6478 if ((ir.modrm & 0x0f) <= 7)
6482 (ir.modrm & 0x0f)))
6489 ((ir.modrm & 0x0f) - 0x08)))
6495 if (0x0c == ir.modrm >> 4)
6501 else if ((0x0d == ir.modrm >> 4) || (0x0e == ir.modrm >> 4))
6503 if ((ir.modrm & 0x0f) <= 7)
6507 (ir.modrm & 0x0f)))
6519 if ((0x0c == ir.modrm >> 4)
6520 || (0x0e == ir.modrm >> 4)
6521 || (0x0f == ir.modrm >> 4)
6522 || (0xd9 == ir.modrm))
6529 if (0xe0 == ir.modrm)
6535 else if ((0x0f == ir.modrm >> 4) || (0x0e == ir.modrm >> 4))
6819 opcode = opcode << 8 | ir.modrm;
7116 opcode = opcode << 8 | ir.modrm;
7125 if (ir.modrm == 0xf9)
7139 opcode = opcode << 8 | ir.modrm;
7186 opcode = opcode << 8 | ir.modrm;
7247 opcode = opcode << 8 | ir.modrm;
7276 opcode = opcode << 8 | ir.modrm;
7285 opcode = opcode << 8 | ir.modrm;
7327 opcode = opcode << 8 | ir.modrm;
7346 if ((ir.modrm & 0xc0) != 0xc0)
7349 opcode = opcode << 8 | ir.modrm;
7366 opcode = opcode << 8 | ir.modrm;
7376 if ((ir.modrm & 0xc0) != 0xc0 || ir.reg == 4
7380 opcode = opcode << 8 | ir.modrm;
7525 opcode = (opcode << 8) | ir.modrm;