JVM
instructions.h
Go to the documentation of this file.
1 #ifndef INSTRUCTIONS_H
2 #define INSTRUCTIONS_H
3 
4 #include "debugging.h"
5 #include <stdint.h>
6 #include "jvm.h"
7 #include "framestack.h"
8 
9 typedef uint8_t (*InstructionFunction)(JavaVirtualMachine* jvm, Frame* currentFrame);
10 
12 
13 #endif // INSTRUCTIONS_H
Structure that will be associated with a method and holds the information necessary to run the method...
Definition: framestack.h:12
uint8_t(* InstructionFunction)(JavaVirtualMachine *jvm, Frame *currentFrame)
Definition: instructions.h:9
A java virtual machine, storing all loaded classes, created objects and frames for methods being exec...
Definition: jvm.h:104
InstructionFunction fetchOpcodeFunction(uint8_t opcode)
Retrieves the instruction function for a given instruction opcode.
Definition: instructions.c:3106