mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13164 from IMEF-FEMI/patch-1
updated int assembly.rst (Sample program bug fix)
This commit is contained in:
commit
dc0a9bd8ec
@ -108,7 +108,7 @@ efficient code, for example:
|
||||
for
|
||||
{ let end := add(dataElementLocation, mul(len, 0x20)) }
|
||||
lt(dataElementLocation, end)
|
||||
{ data := add(dataElementLocation, 0x20) }
|
||||
{ dataElementLocation := add(dataElementLocation, 0x20) }
|
||||
{
|
||||
sum := add(sum, mload(dataElementLocation))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user