// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
contract Yul {
function yulFunction() public {
assembly {
mstore(0x40, "Yul By Example.")
}
}
}
book/src
🔗 https://yul-by-example.vercel.app/
To run a copy of this book locally on your device, clone the repo and install mdbook
via cargo (that comes with Rust). If you don't have Rust installed in your PC, you can download and setup Rust here.
To install mdbook
, you can refer to this.
To display the book on your browser, run mdbook serve book/ -o
from the base directory.