Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

jvm_pc Struct Reference

#include <jvmreg.h>


Detailed Description

Program counter.

The program counter is the location in the code array of a JVM method of current JVM instruction. Definition includes class, method, attribute of code area, and offset in the code array.

Todo:
Does an arraydims item need to be added for processing of array classes, or is the scalar concept sufficient in code?

Definition at line 62 of file jvmreg.h.

Data Fields

jvm_class_index clsidx
 class[clsidx] of code location
jvm_attribute_index codeatridx
 attributes[atridx] of code
jvm_attribute_index excpatridx
 attributes[atridx] of exceptions
jvm_method_index mthidx
 method[mthidx] of code location
jvm_pc_offset offset
 instruction within code area


Field Documentation

jvm_class_index jvm_pc::clsidx
 

class[clsidx] of code location

Definition at line 64 of file jvmreg.h.

jvm_method_index jvm_pc::mthidx
 

method[mthidx] of code location

Definition at line 65 of file jvmreg.h.

jvm_attribute_index jvm_pc::codeatridx
 

attributes[atridx] of code

Definition at line 66 of file jvmreg.h.

jvm_attribute_index jvm_pc::excpatridx
 

attributes[atridx] of exceptions

Definition at line 67 of file jvmreg.h.

jvm_pc_offset jvm_pc::offset
 

instruction within code area

Definition at line 69 of file jvmreg.h.

Referenced by opcode_run().


The documentation for this struct was generated from the following file:
Generated on Fri Sep 30 18:50:55 2005 by  doxygen 1.4.4