ppt4j 1.0
 
Loading...
Searching...
No Matches
ppt4j.util.OpcodeUtils Class Reference

Static Public Member Functions

static String getOpcodeName (final int index)
 
static short getNoOfOperands (final int index)
 

Static Public Attributes

static final short UNDEFINED = -1
 
static final short UNPREDICTABLE = -2
 
static final short RESERVED = -3
 
static final String ILLEGAL_OPCODE = "<illegal opcode>"
 
static final int OPCODE_NAMES_LENGTH = OPCODE_NAMES.length
 

Member Function Documentation

◆ getNoOfOperands()

static short ppt4j.util.OpcodeUtils.getNoOfOperands ( final int index)
static

Get the number of words consumed by the given opcode.

Parameters
indexthe index of the opcode
Returns
Number of byte code operands

◆ getOpcodeName()

static String ppt4j.util.OpcodeUtils.getOpcodeName ( final int index)
static

Member Data Documentation

◆ ILLEGAL_OPCODE

final String ppt4j.util.OpcodeUtils.ILLEGAL_OPCODE = "<illegal opcode>"
static

Mnemonic for an illegal opcode.

◆ OPCODE_NAMES_LENGTH

final int ppt4j.util.OpcodeUtils.OPCODE_NAMES_LENGTH = OPCODE_NAMES.length
static

◆ RESERVED

final short ppt4j.util.OpcodeUtils.RESERVED = -3
static

Illegal opcode.

◆ UNDEFINED

final short ppt4j.util.OpcodeUtils.UNDEFINED = -1
static

Illegal opcode.

◆ UNPREDICTABLE

final short ppt4j.util.OpcodeUtils.UNPREDICTABLE = -2
static

Illegal opcode.


The documentation for this class was generated from the following file: