# Storage Slots

By [Hicss](https://paragraph.com/@freesuton) · 2022-06-04

---

![](https://storage.googleapis.com/papyrus_images/1d912bb315878bfadd617e065f9a2825444733352a867c5ae3a97a288ce61866.png)

get 0 when execute it

![](https://storage.googleapis.com/papyrus_images/24e6d6242cb6c6f228e0de889ba8a5a2f27f42ead19ee1766314a145326c813c.png)

Another example:

![](https://storage.googleapis.com/papyrus_images/f145044af635eeb1661b97439c0037b38ae9680a06dac3f0870ed8bfd26118c1.png)

It retir

![](https://storage.googleapis.com/papyrus_images/86c44f0557421e40a70b8955f5af570b938cf2b4e676d8067f2c99fab470be56.png)

Now you can think very roughly that the storage slot will be how many variables down it is but that’s not quite accurate.

![](https://storage.googleapis.com/papyrus_images/ed23de5ca4c491a6af6efe0490f06511863a6bb8e52705aa679e87ca9fc0ba93.png)

![](https://storage.googleapis.com/papyrus_images/9c05aeda67012a5a47526ab47efa3eb7b478c28eebb5fd3b158b4e02a8497f7d.png)

![](https://storage.googleapis.com/papyrus_images/144f09ce1a9a2ea7add14fc67cb46cc3f0af69a347c6ef262750333eb955b3fc.png)

---

*Originally published on [Hicss](https://paragraph.com/@freesuton/storage-slots)*
