1 2 3 4 5 6 7 8 9 10 11 12 13
contract C { uint constant x = 2**20; bool constant b = true; bytes4 constant s = "ab"; function f() public pure { assembly { let c1 := x let c2 := b let c3 := s } } } // ----