• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/

Lines Matching defs:byte

44  * Disassembly begins in dis_distable, which is equivalent to the One-byte
108 Mb, /* register or memory, always byte sized */
132 NORM, /* instructions w/o ModR/M byte, no memory access */
133 IMPLMEM, /* instructions w/o ModR/M byte, implicit mem access */
141 Ib, /* for push immediate byte */
205 #define FILL 0x90 /* Fill byte used for alignment (nop) */
356 * decode for scale from SIB byte
1250 * Even in 64 bit mode, usually only 4 byte immediate operands are supported.
1266 #define BYTE_OPND 0 /* w-bit value indicating byte register */
1277 * Get the next byte and separate the op code into the high and low nibbles.
1282 int byte;
1293 byte = x->d86_get_byte(x->d86_data);
1294 if (byte < 0)
1296 x->d86_bytes[x->d86_len++] = byte;
1297 *low = byte & 0xf; /* ----xxxx low 4 bits */
1298 *high = byte >> 4 & 0xf; /* xxxx---- bits 7 to 4 */
1303 * Get and decode an SIB (scaled index base) byte
1308 int byte;
1313 byte = x->d86_get_byte(x->d86_data);
1314 if (byte < 0) {
1318 x->d86_bytes[x->d86_len++] = byte;
1320 *base = byte & 0x7;
1321 *index = (byte >> 3) & 0x7;
1322 *ss = (byte >> 6) & 0x3;
1326 * Get the byte following the op code and separate it into the
1365 int byte;
1402 byte = x->d86_get_byte(x->d86_data);
1403 if (byte < 0) {
1407 x->d86_bytes[x->d86_len++] = byte;
1408 x->d86_opnd[opindex].d86_value |= (uint64_t)byte << (i * 8);
1457 * mode = addressing mode from ModRM byte
1458 * r_m = r_m (or reg if mode == 3) field from ModRM byte
1468 int have_SIB = 0; /* flag presence of scale-index-byte */
1560 * can involve an SIB (scaled index and base) byte to decode.
1660 * wbit indicates a byte(0) or opnd_size(1) operation
1718 uint_t mode = 0; /* mode value from ModRM byte */
1719 uint_t reg; /* reg value from ModRM byte */
1720 uint_t r_m; /* r_m value from ModRM byte */
1722 uint_t opcode1; /* high nibble of 1st byte */
1723 uint_t opcode2; /* low nibble of 1st byte */
1724 uint_t opcode3; /* extra opcode bits usually from ModRM byte */
1725 uint_t opcode4; /* high nibble of 2nd byte */
1726 uint_t opcode5; /* low nibble of 2nd byte */
1727 uint_t opcode6; /* high nibble of 3rd byte */
1728 uint_t opcode7; /* low nibble of 3rd byte */
1772 * Get one opcode byte and check for zero padding that follows
1781 (void) strncpy(x->d86_mnem, ".byte\t0", OPLEN);
1877 * byte so we may need to perform a table indirection.
1900 * If still not at a TERM decode entry, then a ModRM byte
2016 * an extra byte, and thus an extra table. As of this
2114 * wbit lives in 2nd byte, note that operands
2132 * opcode 0x6B for byte, sign-extended displacement, 0x69 for word(s)
2344 /* single memory or register byte operand */
2420 * bits 3-4 of op code byte
2839 * byte (format Ib). The int 3 instruction (opcode 0xCC),
2860 /* an unused byte must be discarded */
2933 * Only the following exact byte sequences are allowed: