mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-21 11:16:17 +00:00
11 lines
224 B
Solidity
11 lines
224 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
contract MStore8 {
|
|
function mStore8(uint value) public pure returns (uint256 word) {
|
|
assembly {
|
|
mstore8(0x80, value)
|
|
word := mload(0x80)
|
|
}
|
|
}
|
|
}
|