Jump to TSS question
Hi,
With the latest TSS fixes, SkyOS should begin to work in QEMU.
I have a question for x86 experts: when switching to a task with the 'JMP' instruction, which value of EIP is saved in the old task ? Is it the value pointing to the JMP instruction or the value pointing to the instruction after ?
Fabrice.
Hello,
Quoted 4 lines · Fabrice Bellard
I have a question for x86 experts: when switching to a task with the 'JMP' instruction, which value of EIP is saved in the old task ? Is it the value pointing to the JMP instruction or the value pointing to the instruction after ?
I'm not a x86 expert but an information is here.
http://www7.informatik.uni-erlangen.de/~msdoerfe/embedded/386html/s07_05.htm
It says, "The EIP field of the TSS points to the instruction after the one that caused the task switch."
Sincerely,
kazu