Merge pull request #13164 from IMEF-FEMI/patch-1

updated int assembly.rst (Sample program bug fix)
This commit is contained in:
Daniel Kirchner 2022-06-17 12:33:28 +02:00 committed by GitHub
commit dc0a9bd8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))
}