Help needed to understand x86_32 context_switch

I can understand this code : change rsp/rip

x86_64 context_switch

But i can’t understand this one : just change ss:esp ? What about eip ??

x86 context_switch

The ret instruction will use the “new” return address found on the new stack.

1 Like