mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-04 09:51:10 +00:00
provide Solidity source for mstore8 tests
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
1 file changed
+8
@@ -0,0 +1,8 @@
|
|||||||
|
contract MStore8 {
|
||||||
|
function mStore8(uint value) public pure returns (uint256 word) {
|
||||||
|
assembly {
|
||||||
|
mstore8(0x80, value)
|
||||||
|
word := mload(0x80)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user