mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-05-01 11:07:55 +00:00
99d22cde2f
Signed-off-by: xermicus <cyrill@parity.io>
9 lines
191 B
Solidity
9 lines
191 B
Solidity
contract MStore8 {
|
|
function mStore8(uint value) public pure returns (uint256 word) {
|
|
assembly {
|
|
mstore8(0x80, value)
|
|
word := mload(0x80)
|
|
}
|
|
}
|
|
}
|