I'm trying to do an external function call in assembly. So I have to prepare a memory area that store the input args.

But where's the address that I should start with mstore?

I mean, there are some solidity code before my assembly {...} part, is there any pointer that always points to the current end of used memory?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.