Top Constructors Methods
jogamp.graph.font.typecast.ot

public Class Disassembler

extends Object
Class Inheritance

Author
David Schweinsberg
Version
$Id: Disassembler.java,v 1.1.1.1 2004-12-05 23:14:25 davidsch Exp $

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static int

Returns:

The new instruction pointer
advanceIP
(final short[] instructions, int
The current instruction pointer
ip
)

Advance the instruction pointer to the next executable opcode.

public static String
disassemble(final short[] instructions, final int leadingSpaces)

public static short
getPushCount(final short[] instructions, final int ip)

public static int[]
getPushData(final short[] instructions, final int ip)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Disassemblerback to summary
public Disassembler()

Method Detail

advanceIPback to summary
public static int advanceIP(final short[] instructions, int ip)

Advance the instruction pointer to the next executable opcode. This will be the next byte, unless the current opcode is a push instruction, in which case it will be the byte immediately beyond the last data byte.

Parameters
ip:int

The current instruction pointer

Returns:int

The new instruction pointer

disassembleback to summary
public static String disassemble(final short[] instructions, final int leadingSpaces)
getPushCountback to summary
public static short getPushCount(final short[] instructions, final int ip)
getPushDataback to summary
public static int[] getPushData(final short[] instructions, final int ip)