Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

RET Class Reference

Inheritance diagram for RET:
[legend]
Collaboration diagram for RET:
[legend]
List of all members.

Public Methods

 RET (int index)
void dump (DataOutputStream out) throws IOException
final int getIndex ()
final void setIndex (int n)
String toString (boolean verbose)
InstructionHandle execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i)
 RET (int index)
void accept (Visitor v)
void dump (DataOutputStream out) throws IOException
final int getIndex ()
final void setIndex (int n)
String toString (boolean verbose)
Instruction execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i, ConstantPool cp)

Protected Methods

void initFromFile (ByteSequence bytes, boolean wide) throws IOException
void initFromFile (ByteSequence bytes, boolean wide) throws IOException

Private Methods

 RET ()
final void setWide ()
 RET ()
final void setWide ()

Private Attributes

boolean wide
int index
de fub bytecode generic RET peer

Detailed Description

RET - Return from subroutine

Stack: ..., -> ..., address

Version:
Id:
RET.java,v 1.1.1.1 2002/01/24 03:44:05 pserver Exp
Author:
M. Dahm

Definition at line 14 of file lib/jpf/de/fub/bytecode/generic/RET.java.


Constructor & Destructor Documentation

RET::RET   [inline, private]
 

Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

Definition at line 22 of file lib/jpf/de/fub/bytecode/generic/RET.java.

RET::RET   [inline, private]
 

Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

Definition at line 22 of file src/de/fub/bytecode/generic/RET.java.


Member Function Documentation

void RET::accept Visitor   v [inline, virtual]
 

Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.

Parameters:
v   Visitor object

Reimplemented from Instruction.

Definition at line 35 of file src/de/fub/bytecode/generic/RET.java.

void RET::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from Instruction.

Definition at line 42 of file src/de/fub/bytecode/generic/RET.java.

void RET::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from Instruction.

Definition at line 31 of file lib/jpf/de/fub/bytecode/generic/RET.java.

final int RET::getIndex   [inline]
 

Returns:
index of local variable containg the return address

Reimplemented from IndexedInstruction.

Definition at line 56 of file src/de/fub/bytecode/generic/RET.java.

final int RET::getIndex   [inline]
 

Returns:
index of local variable containg the return address

Reimplemented from IndexedInstruction.

Definition at line 45 of file lib/jpf/de/fub/bytecode/generic/RET.java.

void RET::initFromFile ByteSequence   bytes,
boolean   wide
[inline, protected]
 

Read needed data (e.g. index) from file.

Reimplemented from Instruction.

Definition at line 60 of file src/de/fub/bytecode/generic/RET.java.

void RET::initFromFile ByteSequence   bytes,
boolean   wide
[inline, protected]
 

Read needed data (e.g. index) from file.

Reimplemented from Instruction.

Definition at line 49 of file lib/jpf/de/fub/bytecode/generic/RET.java.

final void RET::setIndex int   n [inline]
 

Set index of local variable containg the return address

Reimplemented from IndexedInstruction.

Definition at line 75 of file src/de/fub/bytecode/generic/RET.java.

final void RET::setIndex int   n [inline]
 

Set index of local variable containg the return address

Reimplemented from IndexedInstruction.

Definition at line 65 of file lib/jpf/de/fub/bytecode/generic/RET.java.

String RET::toString boolean   verbose [inline]
 

Returns:
mnemonic for instruction

Reimplemented from Instruction.

Definition at line 91 of file src/de/fub/bytecode/generic/RET.java.

String RET::toString boolean   verbose [inline]
 

Returns:
mnemonic for instruction

Reimplemented from Instruction.

Definition at line 81 of file lib/jpf/de/fub/bytecode/generic/RET.java.


The documentation for this class was generated from the following files:
Generated at Thu Feb 7 07:21:09 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001