Home | History | Annotate | Download | only in sidestep

Lines Matching defs:opcode

58   // specified by the opcode and/or ModR/M byte and/or SIB byte.
63 // We get the total length of any prefixes, the opcode, and the ModR/M and
90 const Opcode& opcode = s_ia32_opcode_map_[0].table_[*start_byte];
92 switch (opcode.type_) {
108 instruction_type = opcode.type_;
132 const Opcode& opcode = table.table_[current_byte];
133 if (IT_UNUSED == opcode.type_) {
139 } else if (IT_REFERENCE == opcode.type_) {
140 // We are looking at an opcode that has more bytes (or is continued
141 // in the ModR/M byte). Recursively find the opcode definition in
142 // the table for the opcode's next byte.
144 ProcessOpcode(start_byte + 1, opcode.table_index_, size);
149 const SpecificOpcode*>(&opcode);
150 if (opcode.is_prefix_dependent_) {
151 if (got_f2_prefix_ && opcode.opcode_if_f2_prefix_.mnemonic_ != 0) {
152 specific_opcode = &opcode.opcode_if_f2_prefix_;
153 } else if (got_f3_prefix_ && opcode.opcode_if_f3_prefix_.mnemonic_ != 0) {
154 specific_opcode = &opcode.opcode_if_f3_prefix_;
155 } else if (got_66_prefix_ && opcode.opcode_if_66_prefix_.mnemonic_ != 0) {
156 specific_opcode = &opcode.opcode_if_66_prefix_;
160 // Inv: The opcode type is known.
170 // Inv: We have processed the opcode and incremented operand_bytes_
171 // by the number of bytes of any operands specified by the opcode
173 // we need to return the total number of bytes for the opcode and
179 // count that into the opcode size
184 // used for opcode extension