Stack after Interrupt
Posted: Fri Oct 07, 2005 8:12 am
hi,
After an interrupt without ring-change and without error-code the stack looks like this (taken from Intel manual):
eflags
cs
eip <--esp points here
What I now want to know is: Are all these bits 32bit wide, because my processor/bochs always wants to push 12 byte? The Intel manual doesn't say anything about that.
Thanks in advance!
[edit: I think it must be 32bit. I looked at beyond Infinities multitasking turtial. But I don't understand why they use 32Bit for a 16Bit register? Is it only because of 4byte alignment -> faster?]
After an interrupt without ring-change and without error-code the stack looks like this (taken from Intel manual):
eflags
cs
eip <--esp points here
What I now want to know is: Are all these bits 32bit wide, because my processor/bochs always wants to push 12 byte? The Intel manual doesn't say anything about that.
Thanks in advance!
[edit: I think it must be 32bit. I looked at beyond Infinities multitasking turtial. But I don't understand why they use 32Bit for a 16Bit register? Is it only because of 4byte alignment -> faster?]