Lines Matching refs:opcode
20 * All the Dalvik opcode value constants. See the related spec
21 * document for the meaning and instruction format of each opcode.
25 * pseudo-opcode used for nonstandard format payload "instructions". TODO:
32 * pseudo-opcode used to indicate there is no next opcode; used
33 * in opcode chaining lists
37 /** minimum valid opcode value */
40 /** maximum valid opcode value */
43 // BEGIN(opcodes); GENERATED AUTOMATICALLY BY opcode-gen
303 // TODO: Generate these payload opcodes with opcode-gen.
306 * special pseudo-opcode value for packed-switch data payload
311 /** special pseudo-opcode value for packed-switch data payload
316 /** special pseudo-opcode value for fill-array-data data payload
329 * Determines if the given opcode has the right "shape" to be
332 * {@code 0} or {@code 0xff}, and the special opcode values {@code
334 * opcode values that pass this test are in fact used. This method
338 * @param opcode the opcode value
342 public static boolean isValidShape(int opcode) {
354 if (opcode < SPECIAL_FORMAT) {
356 } else if (opcode == SPECIAL_FORMAT) {
360 int lowByte = opcode & 0xff;
365 return (opcode & 0xff00) == 0;
370 * opcode value is an "extended" opcode (not counting the nop-like
374 * @param opcode the opcode value
375 * @return {@code true} iff the opcode is an "extended" opcode
377 public static boolean isExtended(int opcode) {
382 return (opcode >= 0x00ff);
386 * Gets the opcode out of an opcode unit, the latter of which may also
389 * @param opcodeUnit the opcode-containing code unit
390 * @return the extracted opcode