mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
645 B
Plaintext
15 lines
645 B
Plaintext
{
|
|
mstore(0, 7)
|
|
sstore(0, mload(0))
|
|
mstore(sub(0, 1), sub(0, 1))
|
|
sstore(1, mload(sub(0, 1)))
|
|
}
|
|
// ----
|
|
// Trace:
|
|
// Memory dump:
|
|
// 0: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff07
|
|
// FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0: 00000000000000000000000000000000000000000000000000000000000000ff
|
|
// Storage dump:
|
|
// 0000000000000000000000000000000000000000000000000000000000000000: 0000000000000000000000000000000000000000000000000000000000000007
|
|
// 0000000000000000000000000000000000000000000000000000000000000001: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|