<div dir="ltr"><div>Iwas reading this article today on the Microsoft website about the mysterious x86 ENTER instruction. The article states that it's primary purpose is to support Pascal and similar compilers to allow for preserving local variables on the stack when using with nested functions.</div><div><br></div><div>Here is the article:</div><div><br></div><a href="https://devblogs.microsoft.com/oldnewthing/20231211-00/?p=109126">https://devblogs.microsoft.com/oldnewthing/20231211-00/?p=109126</a><br><div><br></div><div>Do any of the compiler devs know if Pascal programs for the x86 instruction set are using ENTER and its second argument to the best possible effect? I am curious.</div></div>