diff --git a/crates/integration/contracts/mStore8.sol b/crates/integration/contracts/mStore8.sol new file mode 100644 index 0000000..27fae51 --- /dev/null +++ b/crates/integration/contracts/mStore8.sol @@ -0,0 +1,8 @@ +contract MStore8 { + function mStore8(uint value) public pure returns (uint256 word) { + assembly { + mstore8(0x80, value) + word := mload(0x80) + } + } +}