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 (address, pointer_address_seed, base_offset_seed, mode)
 

Public Attributes

uint32_t address = 0
 
uint16_t pointer_address_seed = 0
 A seed for the generation of the pointer address Used for Indirect/IndirectRelative modes only.
 
uint32_t base_offset_seed = 0
 A seed for the generation of the 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 ( address  ,
pointer_address_seed  ,
base_offset_seed  ,
mode   
)

Member Data Documentation

◆ address

uint32_t AddressRef::address = 0

◆ base_offset_seed

uint32_t AddressRef::base_offset_seed = 0

A seed for the generation of the 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 127 of file instruction.hpp.

◆ mode

◆ pointer_address_seed

uint16_t AddressRef::pointer_address_seed = 0

A seed for the generation of the pointer address Used for Indirect/IndirectRelative modes only.

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

Definition at line 122 of file instruction.hpp.


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