JVM
instructions.h File Reference
#include "debugging.h"
#include <stdint.h>
#include "jvm.h"
#include "framestack.h"
Include dependency graph for instructions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef uint8_t(* InstructionFunction) (JavaVirtualMachine *jvm, Frame *currentFrame)
 

Functions

InstructionFunction fetchOpcodeFunction (uint8_t opcode)
 Retrieves the instruction function for a given instruction opcode. More...
 

Typedef Documentation

§ InstructionFunction

typedef uint8_t(* InstructionFunction) (JavaVirtualMachine *jvm, Frame *currentFrame)

Function Documentation

§ fetchOpcodeFunction()

InstructionFunction fetchOpcodeFunction ( uint8_t  opcode)

Retrieves the instruction function for a given instruction opcode.

Returns
The function that needs to be called for the instruction to be executed if there is one for the given opcode. Otherwise, returns NULL.
See also
Opcodes, getOpcodeMnemonic()
Here is the caller graph for this function: