Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::Instruction Struct Reference

#include <serialization.hpp>

Public Member Functions

std::string to_string () const
 
std::vector< uint8_t > serialize () const
 
size_t size_in_bytes () const
 
ExecutionOpCode get_exec_opcode () const
 
bool operator== (const Instruction &other) const =default
 

Public Attributes

WireOpCode opcode = WireOpCode::LAST_OPCODE_SENTINEL
 
uint16_t indirect = 0
 
std::vector< Operandoperands
 

Detailed Description

Definition at line 30 of file serialization.hpp.

Member Function Documentation

◆ get_exec_opcode()

ExecutionOpCode bb::avm2::simulation::Instruction::get_exec_opcode ( ) const

Definition at line 345 of file serialization.cpp.

◆ operator==()

bool bb::avm2::simulation::Instruction::operator== ( const Instruction other) const
default

◆ serialize()

std::vector< uint8_t > bb::avm2::simulation::Instruction::serialize ( ) const

Definition at line 351 of file serialization.cpp.

◆ size_in_bytes()

size_t bb::avm2::simulation::Instruction::size_in_bytes ( ) const

Definition at line 339 of file serialization.cpp.

◆ to_string()

std::string bb::avm2::simulation::Instruction::to_string ( ) const

Definition at line 321 of file serialization.cpp.

Member Data Documentation

◆ indirect

uint16_t bb::avm2::simulation::Instruction::indirect = 0

Definition at line 32 of file serialization.hpp.

◆ opcode

WireOpCode bb::avm2::simulation::Instruction::opcode = WireOpCode::LAST_OPCODE_SENTINEL

Definition at line 31 of file serialization.hpp.

◆ operands

std::vector<Operand> bb::avm2::simulation::Instruction::operands

Definition at line 33 of file serialization.hpp.


The documentation for this struct was generated from the following files: