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
+1 -1
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))
}