ConditionalJumpInstruction
Runs the jumpi instruction opcode for the interpreter. 0x57 -> JUMPI
Signature
pub fn conditionalJumpInstruction(self: *Interpreter) (Interpreter.InstructionErrors || error{InvalidJump})!voidProgramCounterInstruction
Runs the pc instruction opcode for the interpreter. 0x58 -> PC
Signature
pub fn programCounterInstruction(self: *Interpreter) Interpreter.InstructionErrors!voidJumpInstruction
Runs the jump instruction opcode for the interpreter. 0x56 -> JUMP
Signature
pub fn jumpInstruction(self: *Interpreter) (Interpreter.InstructionErrors || error{InvalidJump})!voidJumpDestInstruction
Runs the jumpdest instruction opcode for the interpreter. 0x5B -> JUMPDEST
Signature
pub fn jumpDestInstruction(self: *Interpreter) GasTracker.Error!voidInvalidInstruction
Runs the invalid instruction opcode for the interpreter. 0xFE -> INVALID
Signature
pub fn invalidInstruction(self: *Interpreter) !voidStopInstruction
Runs the stop instruction opcode for the interpreter. 0x00 -> STOP
Signature
pub fn stopInstruction(self: *Interpreter) !voidReturnInstruction
Runs the return instruction opcode for the interpreter. 0xF3 -> RETURN
Signature
pub fn returnInstruction(self: *Interpreter) (Interpreter.InstructionErrors || Memory.Error || error{Overflow})!voidRevertInstruction
Runs the rever instruction opcode for the interpreter. 0xFD -> REVERT
Signature
pub fn revertInstruction(self: *Interpreter) (Interpreter.InstructionErrors || Memory.Error || error{ Overflow, InstructionNotEnabled })!voidUnknownInstruction
Instructions that gets ran if there is no associated opcode.
Signature
pub fn unknownInstruction(self: *Interpreter) Interpreter.InstructionErrors!void