This commit is contained in:
Nicholas Ward 2023-05-08 16:02:43 -07:00
parent b566dbd735
commit 446c3b7140

View File

@ -41,13 +41,13 @@
DUP3 DUP3
DUP3 DUP3
DUP3 DUP3
%mload_u32 MLOAD_GENERAL
// stack: c0, context, segment, offset // stack: c0, context, segment, offset
DUP4 DUP4
%increment %increment
DUP4 DUP4
DUP4 DUP4
%mload_u32 MLOAD_GENERAL
%shl_const(8) %shl_const(8)
ADD ADD
// stack: c0 | (c1 << 8), context, segment, offset // stack: c0 | (c1 << 8), context, segment, offset
@ -55,7 +55,7 @@
%add_const(2) %add_const(2)
DUP4 DUP4
DUP4 DUP4
%mload_u32 MLOAD_GENERAL
%shl_const(16) %shl_const(16)
ADD ADD
// stack: c0 | (c1 << 8) | (c2 << 16), context, segment, offset // stack: c0 | (c1 << 8) | (c2 << 16), context, segment, offset
@ -63,7 +63,7 @@
%add_const(3) %add_const(3)
SWAP2 SWAP2
SWAP1 SWAP1
%mload_u32 MLOAD_GENERAL
%shl_const(24) %shl_const(24)
ADD // OR ADD // OR
// stack: c0 | (c1 << 8) | (c2 << 16) | (c3 << 24) // stack: c0 | (c1 << 8) | (c2 << 16) | (c3 << 24)