Skip to content

Commit be06151

Browse files
missing opcode encoding for DEREF
Co-authored-by: Koh Wei Jie <[email protected]>
1 parent 5e0ae34 commit be06151

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/lean_prover/witness_generation/src/instruction_encoder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub fn field_representation(instr: &Instruction) -> [F; N_INSTRUCTION_COLUMNS] {
3030
shift_1,
3131
res,
3232
} => {
33+
fields[8] = F::ONE; // DEREF = 1
3334
fields[3] = F::ZERO; // flag_A = 0
3435
fields[0] = F::from_usize(*shift_0);
3536
fields[5] = F::ONE; // flag_C = 1

0 commit comments

Comments
 (0)