Blogger

Delete comment from: Ken Shirriff's blog

"Maybe the stack pointer (ESP) is copied as part of interrupt handling" - I wonder if it has anything to do with the enter instruction, which, I think, copies ESP into EBP. But it seems a bit excessive to put in a direct path just for that, unless they were trying to really optimize the enter and leave instructions. As far as I know, they were not much used, because it was more efficient to put up and tear down stack frames using simpler instructions.

May 29, 2025, 3:34:02 PM


Posted to The absurdly complicated circuitry for the 386 processor's registers

Google apps
Main menu