Here you'll find simple ERC20 implementations in Solidity, Solidity with inline Yul (Assembly), and Huff. They've been tested and are functional.
You can see the contracts in src
folder and the tests in test
folder.
ERC20.yul
Implementation of simple smart contracts in Huff, inline Yul, and pure Yul
Solidity