addressed comments

This commit is contained in:
Nicholas Ward 2023-03-14 15:15:19 -07:00
parent 725b5a080d
commit d4c7bfd592
2 changed files with 2 additions and 3 deletions

View File

@ -45,6 +45,7 @@ mul_return:
// stack: n-1, len, a_start_loc, bi+1, output_cur+1, retdest
DUP1
// stack: n-1, n-1, len, a_start_loc, bi+1, output_cur+1, retdest
STOP
%jumpi(mul_loop)
mul_end:
// stack: n-1, len, a_start_loc, bi+1, output_cur+1, retdest

View File

@ -770,9 +770,7 @@ impl<'a> Interpreter<'a> {
fn run_mload_general(&mut self) {
let context = self.pop().as_usize();
let segment = Segment::all()[self.pop().as_usize()];
let x = self.pop();
dbg!(x);
let offset = x.as_usize();
let offset = self.pop().as_usize();
let value = self
.generation_state
.memory