Lines Matching defs:byte

47  * Disassembly begins in dis_distable, which is equivalent to the One-byte
113 Mb, /* register or memory, always byte sized */
138 NORM, /* instructions w/o ModR/M byte, no memory access */
139 IMPLMEM, /* instructions w/o ModR/M byte, implicit mem access */
147 Ib, /* for push immediate byte */
222 #define FILL 0x90 /* Fill byte used for alignment (nop) */
373 * decode for scale from SIB byte
1006 /* Need to handle multi-byte NOP */
1449 * Even in 64 bit mode, usually only 4 byte immediate operands are supported.
1465 #define BYTE_OPND 0 /* w-bit value indicating byte register */
1476 * Get the next byte and separate the op code into the high and low nibbles.
1481 int byte;
1492 byte = x->d86_get_byte(x->d86_data);
1493 if (byte < 0)
1495 x->d86_bytes[x->d86_len++] = byte;
1496 *low = byte & 0xf; /* ----xxxx low 4 bits */
1497 *high = byte >> 4 & 0xf; /* xxxx---- bits 7 to 4 */
1502 * Get and decode an SIB (scaled index base) byte
1507 int byte;
1512 byte = x->d86_get_byte(x->d86_data);
1513 if (byte < 0) {
1517 x->d86_bytes[x->d86_len++] = byte;
1519 *base = byte & 0x7;
1520 *index = (byte >> 3) & 0x7;
1521 *ss = (byte >> 6) & 0x3;
1525 * Get the byte following the op code and separate it into the
1565 int byte;
1602 byte = x->d86_get_byte(x->d86_data);
1603 if (byte < 0) {
1607 x->d86_bytes[x->d86_len++] = byte;
1608 x->d86_opnd[opindex].d86_value |= (uint64_t)byte << (i * 8);
1659 * mode = addressing mode from ModRM byte
1660 * r_m = r_m (or reg if mode == 3) field from ModRM byte
1670 int have_SIB = 0; /* flag presence of scale-index-byte */
1764 * can involve an SIB (scaled index and base) byte to decode.
1864 * wbit indicates a byte(0) or opnd_size(1) operation
1950 uint_t mode = 0; /* mode value from ModRM byte */
1951 uint_t reg; /* reg value from ModRM byte */
1952 uint_t r_m; /* r_m value from ModRM byte */
1954 uint_t opcode1; /* high nibble of 1st byte */
1955 uint_t opcode2; /* low nibble of 1st byte */
1956 uint_t opcode3; /* extra opcode bits usually from ModRM byte */
1957 uint_t opcode4; /* high nibble of 2nd byte */
1958 uint_t opcode5; /* low nibble of 2nd byte */
1959 uint_t opcode6; /* high nibble of 3rd byte */
1960 uint_t opcode7; /* low nibble of 3rd byte */
2006 * Get one opcode byte and check for zero padding that follows
2015 (void) strncpy(x->d86_mnem, ".byte\t0", OPLEN);
2112 * byte so we may need to perform a table indirection.
2205 * If still not at a TERM decode entry, then a ModRM byte
2321 * an extra byte, and thus an extra table. As of this
2449 * wbit lives in 2nd byte, note that operands
2481 * opcode 0x6B for byte, sign-extended displacement, 0x69 for word(s)
2694 /* single memory or register byte operand */
2792 * bits 3-4 of op code byte
3241 * byte (format Ib). The int 3 instruction (opcode 0xCC),
3262 /* an unused byte must be discarded */
3335 * Only the following exact byte sequences are allowed: