From e4f2e864cb1508cffb5a9b4de615b0aa47616243 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Tue, 28 Mar 2023 12:08:03 -0700 Subject: [PATCH] fix --- evm/src/cpu/kernel/asm/bignum/modmul.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/evm/src/cpu/kernel/asm/bignum/modmul.asm b/evm/src/cpu/kernel/asm/bignum/modmul.asm index cdacf573..c4b986ee 100644 --- a/evm/src/cpu/kernel/asm/bignum/modmul.asm +++ b/evm/src/cpu/kernel/asm/bignum/modmul.asm @@ -50,11 +50,11 @@ modmul_remainder_loop: // We check that x < m. PUSH modmul_return_1 - DUP5 - DUP7 + DUP6 + DUP6 DUP4 - // stack: len, out_loc, m_loc, modmul_return_1, len, a_loc, b_loc, m_loc, out_loc, s1, s2, s3, retdest - // Should return 1 iff the value at out_loc > the value at m_loc; in other words, if x < m. + // stack: len, m_loc, out_loc, modmul_return_1, len, a_loc, b_loc, m_loc, out_loc, s1, s2, s3, retdest + // Should return 1 iff the value at m_loc > the value at out_loc; in other words, if x < m. %jump(cmp_bignum) modmul_return_1: // stack: cmp_result, len, a_loc, b_loc, m_loc, out_loc, s1, s2, s3, retdest