From 446c3b7140159cd662d2cc1d697ed769d6a294d6 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Mon, 8 May 2023 16:02:43 -0700 Subject: [PATCH] fix --- evm/src/cpu/kernel/asm/memory/core.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/evm/src/cpu/kernel/asm/memory/core.asm b/evm/src/cpu/kernel/asm/memory/core.asm index beb6b420..38a7adaf 100644 --- a/evm/src/cpu/kernel/asm/memory/core.asm +++ b/evm/src/cpu/kernel/asm/memory/core.asm @@ -41,13 +41,13 @@ DUP3 DUP3 DUP3 - %mload_u32 + MLOAD_GENERAL // stack: c0, context, segment, offset DUP4 %increment DUP4 DUP4 - %mload_u32 + MLOAD_GENERAL %shl_const(8) ADD // stack: c0 | (c1 << 8), context, segment, offset @@ -55,7 +55,7 @@ %add_const(2) DUP4 DUP4 - %mload_u32 + MLOAD_GENERAL %shl_const(16) ADD // stack: c0 | (c1 << 8) | (c2 << 16), context, segment, offset @@ -63,7 +63,7 @@ %add_const(3) SWAP2 SWAP1 - %mload_u32 + MLOAD_GENERAL %shl_const(24) ADD // OR // stack: c0 | (c1 << 8) | (c2 << 16) | (c3 << 24)