Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
AddressRef Struct Reference

#include <instruction.hpp>

Public Member Functions

 MSGPACK_FIELDS (tag, index, pointer_address, base_offset, mode)
 

Public Attributes

MemoryTagWrapper tag
 
uint32_t index = 0
 Index of the address in the memory_manager.stored_variables map.
 
uint16_t pointer_address = 0
 Index of the pointer in the memory_manager.stored_variables map Used for Indirect/IndirectRelative modes only.
 
uint32_t base_offset = 0
 Base offset Used for Relative/IndirectRelative modes only Sets M[0] = base_offset.
 
AddressingModeWrapper mode = AddressingMode::Direct
 

Detailed Description

Member Function Documentation

◆ MSGPACK_FIELDS()

AddressRef::MSGPACK_FIELDS ( tag  ,
index  ,
pointer_address  ,
base_offset  ,
mode   
)

Member Data Documentation

◆ base_offset

uint32_t AddressRef::base_offset = 0

Base offset Used for Relative/IndirectRelative modes only Sets M[0] = base_offset.

Examples
/opt/build/repo/barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/instruction.hpp.

Definition at line 111 of file instruction.hpp.

◆ index

uint32_t AddressRef::index = 0

Index of the address in the memory_manager.stored_variables map.

Examples
/opt/build/repo/barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/instruction.hpp.

Definition at line 102 of file instruction.hpp.

◆ mode

◆ pointer_address

uint16_t AddressRef::pointer_address = 0

Index of the pointer in the memory_manager.stored_variables map Used for Indirect/IndirectRelative modes only.

Examples
/opt/build/repo/barretenberg/cpp/src/barretenberg/avm_fuzzer/fuzz_lib/instruction.hpp.

Definition at line 106 of file instruction.hpp.

◆ tag


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