This commit is contained in:
Dmitry Vagner 2022-12-14 19:58:16 -08:00
parent 5ca2d88bfb
commit a72d4faaec
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ impl<'a> Interpreter<'a> {
let mut tot = 0;
for i in 0..0x100 {
if self.opcode_count[i] > 0 {
tot = tot + self.opcode_count[i];
tot += self.opcode_count[i];
println!("{}: {}", get_mnemonic(i as u8), self.opcode_count[i])
}
}

View File

@ -162,7 +162,7 @@ fn make_initial_stack(
input.extend(vec![in1]);
input.extend(f1);
input.extend(g0);
input.extend(vec![U256::from(in2)]);
input.extend(vec![in2]);
input.extend(g1);
input.extend(vec![in2, out, in1]);
input.reverse();