Sun SPOT API
Green Release  


com.sun.squawk.vm
Class FP

java.lang.Object
  extended by com.sun.squawk.vm.FP

public class FP
extends Object

This class contains the offsets and constants that define the layout of an activation frame for the current method. All the offsets are relative to the current frame pointer, FP.


Field Summary
static int FIXED_FRAME_SIZE
          This is the number of slots that must be reserved for a call to a method above and beyond the slots it requires for its local variables and operand stack.
static int local0
          The offset of the slot containing the first local variable of the current method.
static int method
          The offset of the slot containing the pointer to the current method.
static int parm0
          The offset of the slot containing the first parameter.
static int returnFP
          The offset of the slot containing the FP of the caller of the current method.
static int returnIP
          The offset of the slot containing the IP of the caller of the current method.
 
Constructor Summary
FP()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parm0

public static final int parm0
The offset of the slot containing the first parameter.

See Also:
Constant Field Values

returnIP

public static final int returnIP
The offset of the slot containing the IP of the caller of the current method.

See Also:
Constant Field Values

returnFP

public static final int returnFP
The offset of the slot containing the FP of the caller of the current method.

See Also:
Constant Field Values

local0

public static final int local0
The offset of the slot containing the first local variable of the current method.

See Also:
Constant Field Values

method

public static final int method
The offset of the slot containing the pointer to the current method.

See Also:
Constant Field Values

FIXED_FRAME_SIZE

public static final int FIXED_FRAME_SIZE
This is the number of slots that must be reserved for a call to a method above and beyond the slots it requires for its local variables and operand stack.

See Also:
Constant Field Values
Constructor Detail

FP

public FP()

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.