Implement tagged memory within the VM simulator
Memory is written to in tagged regions, each arithmetic operation must have values that come from the same memory region. This effectively simulates operations between u8, u16, without needing to perform range checks on each operation.
Values must be range checked when they are written into the memory region.
links
Implement tagged memory within the VM simulator
Memory is written to in tagged regions, each arithmetic operation must have values that come from the same memory region. This effectively simulates operations between u8, u16, without needing to perform range checks on each operation.
Values must be range checked when they are written into the memory region.
links
aztec-packages/yarn-project/acir-simulator/src/avm/avm_context.ts
Line 11 in 91025fa