Other Yul Functions

Other Yul Functions

  • datasize(x) / dataoffset(x) - takes in string literals (names of objects) as arguments, returning the size and offset in the data area, respectively

  • datacopy - equivalent to codecopy

  • setimmutable(offset, "name", value)

  • loadimmutable("name")

References

https://docs.soliditylang.org/en/latest/yul.html

Last updated