Skip to content

MemoryInstructionErrors

Interpreter.InstructionErrors || Memory.Error || error{Overflow}

McopyInstruction

Runs the mcopy opcode for the interpreter. 0x5E -> MCOPY

Signature

pub fn mcopyInstruction(self: *Interpreter) (MemoryInstructionErrors || error{InstructionNotEnabled})!void

MloadInstruction

Runs the mload opcode for the interpreter. 0x51 -> MLOAD

Signature

pub fn mloadInstruction(self: *Interpreter) MemoryInstructionErrors!void

MsizeInstruction

Runs the msize opcode for the interpreter. 0x59 -> MSIZE

Signature

pub fn msizeInstruction(self: *Interpreter) Interpreter.InstructionErrors!void

MstoreInstruction

Runs the mstore opcode for the interpreter. 0x52 -> MSTORE

Signature

pub fn mstoreInstruction(self: *Interpreter) MemoryInstructionErrors!void

Mstore8Instruction

Runs the mstore8 opcode for the interpreter. 0x53 -> MSTORE8

Signature

pub fn mstore8Instruction(self: *Interpreter) MemoryInstructionErrors!void