mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
21 lines
410 B
Plaintext
21 lines
410 B
Plaintext
{
|
|
let x := calldataload(0)
|
|
let y := calldataload(0)
|
|
let z := sub(y, x)
|
|
sstore(add(x, 0), z)
|
|
}
|
|
// ====
|
|
// optimize: true
|
|
// ----
|
|
// Assembly:
|
|
// /* "source":26:27 */
|
|
// 0x00
|
|
// 0x00
|
|
// /* "source":13:28 */
|
|
// calldataload
|
|
// /* "source":79:99 */
|
|
// sstore
|
|
// Bytecode: 600060003555
|
|
// Opcodes: PUSH1 0x0 PUSH1 0x0 CALLDATALOAD SSTORE
|
|
// SourceMappings: 26:1:0:-:0;;13:15;79:20
|